How to Locate File / Folder in AIX

In some cases, where you know there is a file / folder in your operating system. But, you could not remember where did you put that file / folder. By the way, we should call this as “aging issue”. Haha!

You can look for the file / folder on each location but it will take some times, of course! To speed up this, follow below commands,

Using Find Command

You can use .(dot) to look into the current working directory or specify the path. You may also use * if you do not know the file / folder full name.

find . -name ARA
./NEWFOLDER/ARA
./ARA
./ARA/sdt/log/ARA
./ARA2/ARA
./ARA2/ARA/sdt/log/ARA
./ARA2/ARA_old_22/ARA_15Mar/ARA2/ARA
./ARA2/sdt/log/ARA
find THE-PATH -name "*DAEM*"
./DAEMAH
./ARA_DAEM

Note:
In case you are getting message, ‘find: missing conjunction’, please use quote FILE_OR_FOLDER_NAME.

You May Also Like

Leave a Reply?