-a Number : displays the file if it has been accessed within the number of days specified by the Number parameter.
-c Number : displays the file if its i-node has been changed within the number of days specified by the Number parameter.
-i I-Number : displays the files corresponding to the i-node numbers specified by the I-Number parameter. The i-node numbers listed must be separated by a comma.
-I (uppercase i) : does not display the i-node after each path name.
-l (lowercase L.) : additionally displays a list of pathnames for files with more than one link.
-m Number : displays the file if it has been modified within the number of days specified by the Number parameter.
-n File : displays the file if it has been modified more recently than the file specified by the File parameter.
-o Options : specifies file system implementation-specific options.
-p Prefix : adds the prefix specified by the Prefix parameter to each path name. The default prefix is . (dot).
-s : writes the file size, in bytes, after each path name.
-u : writes the owner's login name after each path name.
-V VFSName : instructs the ff command to assume the file system is of type VFSName, overriding the value in the /etc/filesystems file.
Example to list the path names of all files in a given file system, enter:
# ff -I /dev/hd0
Example too list files that have been modified within the last two days, enter:
# ff -m -2 -u /dev/hd0
Example to list files that have last accessed time more than 30 days ago , enter:
# ff -a +30 /dev/hd0
Example to find out the paths corresponding to i-nodes 451 and 76, enter:
coolcommand: how to trap signals in scripts or login
Example: trap 'exit 0' 1 2 3 9 15
[show me the details]
coolcommand: how to delete a row from a mysql database table
Example: delete from user where user='stephane';
[show me the details]
coolcommand: how to delete all arp entries in Linux
Example: for i in $(sed '1d' /proc/net/arp | awk '{print $1 }'); do arp -d $i; done
[show me the details]
coolcommand: lssyscfg command will list the system configuration
Example: lssyscfg -r [ sys | frame | alpar | lpar | prof | sysprof ] -n object-name [ | —all ] [ -m "managed-system" ] [ -p "partition-name" ] [ -F format | -z ] [ —help ]
[show me the details]
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts