How To Search Files Using Linux Shell
- Forums
- Linux
- How To Search Files Using Linux Shell
do you want to know howto search file shell linux - if so you will find this simple tutoril on howto search file shell linux finding and searching for files in linux system is easy [3303], Last Updated: Mon Jun 24, 2024
Webune Support
Fri Mar 05, 2010
0 Comments
415 Visits
hi,
welcome to webune web hosting
Webune offers dedicated and Virtual Linux hosting. If you are insterested in starting your own linux server, sign up today!!!
many of our customer who have linux server would find this command helpful.
lets say you wan to search for a particular file in your linux file system, for example, you want to find the apache configuration file - we all know its located at: /etc/httpd/conf/httpd.conf - but how about if you didnt know that? well, you would just send this command in the shell terminal:
# find / -name httpd.conf -print
ok how about if you wanted to find some log file? as you know, the logs are located in the /var/log directory so you can send this command:
# find /var/log -name some*.log -print
this command will find any file in the /var/log directory which starts with some and ends with .log
hope that helps