With this in mind, let??™s discuss how you find files within your file system.
CHAPTER 18 Managing Files, Volumes, and Drives 386
Finding Files
From time to time, you will need to locate a particular file in your file system. With
openSUSE Linux, you have a variety of tools available to do this. We??™ll discuss how to use
the find, locate, which, and whereis commands, as well as several graphical utilities to
track down files.
Using find
The find utility does just what its name implies. It??™s used to find files in your computer??™s
file system. The syntax for using find is as follows:
find path search_pattern
One of the advantages of find is that you can use a variety of search patterns. You can
search for a filename, for a specific file type, for files of a particular size, for files that were
modified at a certain time, and for files owned by a particular user or group.
These search patterns are created using the following command-line options:
. -name ???
?????”This option allows you to search for a filename. You can use
a specific filename, or you can use a wildcard pattern.
Pages:
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793