Summary: getting absolute path of files in a directory.
- From: Srini Chadalavada <chadalavada2002@xxxxxxxxx>
- Date: Thu, 28 Sep 2006 11:13:54 -0700 (PDT)
Hi Managers,
Thanks for quick response for Anthony/Alan/Bill
find command is the answer. it works.
and you want to list everything by it's Fully
Qualified Path Name
# (FQPN) from here (.) on down you could do:
$ find `pwd` -print
# or for the 'ls -lF' type output,
$ find `pwd` -ls
# If you want ONLY the files, not directories,
symlinks, specials,
# etc. you can do one of these:
$ find `pwd` -type f -print
$ find `pwd` -type f -ls
# Of course if you want everything EXCEPT files you
could negate it
# with:
$ find `pwd` ! -type f -print
$ man find
# Will show you all sorts of things -- for example
find all symbolic
# links with:
$ find `pwd` -type l -print
Thanks,
Srini
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: SUMMARY: Issue with uname -a
- Next by Date: Setting NIC speed / best practice.
- Previous by thread: SUMMARY: Issue with uname -a
- Next by thread: Setting NIC speed / best practice.
- Index(es):
Relevant Pages
|
|