on 07-07-2007 11:41 AM
Hi all
I am new to AIX Pl tell me how to find a file in AIX (complete search / particular directory)
B
find /usr/sap -name "*.log" -a -size -10k -print
to find all file with .log extension and size below 10k in /usr/sap
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bupendir,
1. find / -name .profile -print----
To list all files in the file system with a given base file name.
2. find . -perm 0600 -print----
To list files having a specific permission code in the current directory tree.
3. find . -type f -links +1 -print------To search for regular files with multiple links.
Hope is useful.
Regards
gangadhar.
********POINTS ENCOURAGED ME TO ANSER THE QUESTIONS**************
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
find pathname -name filename
eg: find / -name db.cfg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try:
cd <directory>
find . -name "<filename>" -print
--
Markus
Message was edited by:
Markus Döhr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.