Saturday, July 14, 2012

Linux: find a file

find <dir_where_you_want_to_search> -name <file_nameyou_want_to_search>:


find /home/john -name 'httpd-xampp.conf'


Note: In ubuntu use sudo at the beginning :
sudo find /home/john -name 'httpd-xampp.conf'


Resource:
http://www.codecoffee.com/tipsforlinux/articles/21.html

No comments: