cancel
Showing results for 
Search instead for 
Did you mean: 

Find file in AIX

Former Member
0 Kudos

Hi all

I am new to AIX Pl tell me how to find a file in AIX (complete search / particular directory)

B

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

find /usr/sap -name "*.log" -a -size -10k -print

to find all file with .log extension and size below 10k in /usr/sap

Former Member
0 Kudos

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**************

Former Member
0 Kudos

find pathname -name filename

eg: find / -name db.cfg

markus_doehr2
Active Contributor
0 Kudos

You can try:

cd <directory>
find . -name "<filename>" -print

--

Markus

Message was edited by:

Markus Döhr