![]() |
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 Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find files and display only directory list containing those files | r7p | UNIX for Dummies Questions & Answers | 4 | 06-05-2009 08:46 AM |
| find home directory paths for all users | a2156z | SUN Solaris | 2 | 03-12-2009 06:26 AM |
| Display directory size | chebarbudo | UNIX for Dummies Questions & Answers | 6 | 11-26-2008 05:09 AM |
| Display Directory Size - DF? | t4st33@mac.com | UNIX for Dummies Questions & Answers | 3 | 01-11-2007 02:12 AM |
| Tail-alike display of new files in directory | rschelkers | Shell Programming and Scripting | 4 | 03-22-2002 07:44 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how to display paths of files in a directory
hi guys
does anyone know how to display the file paths of the files stored within a directory at the command terminal? e.g. if i have a directory called "home", how do i display the file paths of the files inside the directory? cheers |
|
||||
|
Hi,
Code:
$ find ./testdir -print ./testdir ./testdir/Count ./testdir/testdir.sh ./testdir/SQL ./testdir/filevalid.sh ./testdir/.hidden1 $ $ ls -ld testdir drwxr-xr-x 6 scripter scripterworld 4096 Aug 20 00:50 testdir $ ls -l testdir total 24 drwxr-xr-x 2 scripter scripterworld 4096 Aug 19 20:16 Count -rwxr-xr-x 1 scripter scripterworld 342 Aug 19 23:15 filevalid.sh drwxr-xr-x 2 scripter scripterworld 4096 Aug 19 20:16 SQL -rw-r--r-- 1 scripter scripterworld 307 Aug 19 20:15 testdir.sh $ cd testdir/ $ ls -ltr total 24 -rw-r--r-- 1 scripter scripterworld 307 Aug 19 20:15 testdir.sh drwxr-xr-x 2 scripter scripterworld 4096 Aug 19 20:16 Count drwxr-xr-x 2 scripter scripterworld 4096 Aug 19 20:16 SQL -rwxr-xr-x 1 scripter scripterworld 342 Aug 19 23:15 filevalid.sh $ Scripter |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|