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
find ./home -print
one way.
Hi,
$ 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
$
ls -l command with directoryname displays files in that directory
Scripter