Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

find command and its following links

Status
Not open for further replies.

philipose

Programmer
Dec 24, 2003
137
US
Hi AIX gurus,
I am trying to use the follow flag in the find command to find files in a link. Here I have a link saswork that is linked to the directory /pfsaswork/a43317pf.saswork. See below

a43317pf@usvh2euap2a:/home/a43317pf>ls -l saswork

lrwxrwxrwx 1 a43317pf pfsusr 27 Oct 17 10:16 saswork -> /pfsaswork/a43317pf.saswork


I am trying to use the command find saswork -follow and I am instead of looking in /pfsaswork/a43317pf.saswork/SAS_work4D27000BB014_usvh2euap2a, it is looking in /saswork/SAS_work4D27000BB014_usvh2eua. See below. Any ideas ??

a43317pf@usvh2euap2a:/home/a43317pf>find saswork -follow -ls

16496 0 lrwxrwxrwx 1 a43317pf pfsusr 27 Oct 17 10:16 saswork -> /pfsaswork/a43317pf.saswork
8204 0 drwxr-x--- 2 a43317pf pfsusr 256 Oct 29 12:08 saswork/SAS_work4D27000BB014_usvh2euap2a
 
Hi,
I think I figured it out.

find -H saswork -ls

Thanks
philipose
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top