![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Listing files with full path | r_sethu | UNIX for Dummies Questions & Answers | 5 | 06-15-2009 02:56 AM |
| List files with full path | mr_bold | Shell Programming and Scripting | 3 | 10-07-2008 12:19 PM |
| to find the file with full path | surjyap | Shell Programming and Scripting | 5 | 01-18-2008 03:26 PM |
| Removing duplicate files from list with different path | vino | Shell Programming and Scripting | 10 | 05-12-2005 08:44 AM |
| process executable file full path | xtrix | UNIX for Advanced & Expert Users | 3 | 10-11-2004 04:28 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
list all files with full path of the file
How can i list every single file on a sun solaris server running 2.8 starting from '/' with the full path included in it?
example. / ... ... ... /etc/inetd.conf /etc/passwd /etc/shadow ... ... ... /var/adm/messages /var/adm/messages.0 /var/adm/messages.1 ... ... ... /last/file/on/the/system.conf Thanks. -Sowser |
|
||||
|
If you are only interested in files of a specific type use the "-type" option.
find / -type d -print (to list only directories) find / -type l -print (to list only soft links) find / -type b -print (to list only bliock special files) find / -type f -print (to list only regular files) etc etc |
|
||||
|
Or the opposite
find / ! -type d -print (to list everything except directories) |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|