on 06-13-2013 1:15 PM
Hi SAP Expert ,
I want to check a file which is in directory which is having many sub directories .
Is there any command to find a particular file inside a directory .
Regards,
Abhishek
Hello Abishek,
The correct syntax of the command is:
find /<folder> -name "filename"
e.g.
probud2:bcsadm 52> find /usr/sap/BCS -name "disp+work*"
/usr/sap/BCS/D03/exe/disp+work
/usr/sap/BCS/D03/exe/disp+work_old
/usr/sap/BCS/D03/exe1/exe/disp+work
/usr/sap/BCS/D03/exe1/exe/disp+work.filepart
/usr/sap/BCS/EHPI/abap/exe/disp+work
/usr/sap/BCS/EHPI/abap/exenew/disp+work
/usr/sap/BCS/D05/exe/disp+work
/usr/sap/BCS/D05/exe/disp+work_old
probud2:bcsadm 53>
Best regards,
Adam Goetz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
# find -name ./ "file name"
Thanks,
Nirav Kundalia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.