LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   recursively listing directories full paths (http://www.linuxquestions.org/questions/linux-newbie-8/recursively-listing-directories-full-paths-149246/)

kubicon 02-22-2004 04:37 PM

recursively listing directories full paths
 
how can I recusively list the full path off all the files on from a directory on forward

for instance, I would like something like:

/home
/home/foo/file1
/home/foo/file2
/home/dir/log.log
/home/dir/files/file1
/home/dir/files/file2

I need the full path cause I'm making a shell script and I'm stuck


thanks

Booster 02-22-2004 04:40 PM

Just do:
#find .
and it'll list everything from your present dir and subdirs

Cheers!

exodist 02-22-2004 04:55 PM

ls -la ./* should aslo recurse through directories, do ls -lad ./* to do just directories not files


All times are GMT -5. The time now is 06:37 PM.