This post explains How to Find File Location in Linux
Find file in home directory
[root@sys ~]# find /home -name "finename.txt"
Find file in entire system
[root@sys ~]# find / -name "filename.txt"
Find file containing perticular word example httpd
[root@sys ~]# find /etc -name "*httpd*"
Find files of perticular type example .pdf file or .jpg or .png etc
[root@sys ~]# find /home -name "*.pdf"
0 comments:
Post a Comment