to use the Find command, do the following:
#find / -name searchstring
(#find 'path' -name 'searchstring')
so, if your looking for sshd_config file somewhere in /etc/ it would look like this:
#find /etc/ -name ssh_config
this will be a search on the complete file name. You can use wild cards as well, e.g.:
#find /etc/ -name ssh_co*
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.