The find command is used to search for a file on a system. For example, if you want to find all files that start with my in the /etc directory and all of its subdirectories, the command is:
$ find /etc -name "my*" /etc/profile /etc/protocols $
In a similar way, the find command can be used to find files that are newer versions of a certain file. The search can also be made on file types and file permissions. Please refer to man pages for more information on the find command.
Top |