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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List files of a filesystem 1

Status
Not open for further replies.

Diogo

Technical User
Mar 22, 2001
143
PT
Hello.

My problem is:
I have "/test" and "/test/12" filesystem's.
Can i list files in the filesystem "/test" ?

Thanks any way.
DR
 
find /test -xdev -print

the -xdev will make find stop at the "/test/12" filesystem boundary and continue to the next directory in the "/test" filesystem.

have a look at the man page for more info.

HTH,

p5wizard
 
Thanks,

It's just that.

DR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top