Lets say you want to search for the file patch_24.sql in root directory.
find / -name patch_24.sql
If you want to search it from your current directory.
find ./ -name patch_24.sql
Lets say you want all the files start with patch.
find ./ -name patch*
If you need a search that do not consider the case sensitivity.
find ./ -iname patch*
Lets look in to some advance searches also.
If you want to look about files that bigger than 10000k
find ./ -size +10000
If the file size less than 500k
find ./ -size -500
So I guess you can have a good search now. Please refer man pages for more details.
~ Vidula Hasaranga - විදුල හසරංග ~
No comments:
Post a Comment