Monday, 29 July 2013

How to Find File Location in Linux


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"

Share This!



1 comment:

Here We Write The Problems we face at different situations and Solutions to those problems.