. -size + or ??“ size??”This option allows you to search for files that are smaller than
or larger than the specified size.
. -type type??”This option allows you to specify whether you are looking for directories
, files (f), or symbolic links (l).
. -ctime + or ??“ days??”This option allows you to search for files that were modified
more or less than a specified number of days ago.
. -group group_name??”This option allows you to search for files that are owned by a
specific group.
. -user user_name??”This option allows you to search for files that are owned by a
specific user.
For example, suppose you wanted to find a file named myfiles that you think resides in
the /home/tux directory on your system. You could enter find /home/tux -name
???myfile??? at the shell prompt. The find utility will then search the /home/tux path for
any file named myfile, as shown in Figure 18.5.
Finding Files 387
18
FIGURE 18.5 Using find to search for files.
CHAPTER 18 Managing Files, Volumes, and Drives 388
The find utility, by default, searches all subdirectories beneath the path specified.
Pages:
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794