View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-22-2004, 03:37 PM   #1
Registered: Aug 2003
Location: Limbo
Posts: 54

Rep: Reputation: 15
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:


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

Old 02-22-2004, 03:40 PM   #2
Registered: Sep 2003
Location: Ontario, Canada
Distribution: Gentoo, Suse
Posts: 59

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

Old 02-22-2004, 03:55 PM   #3
Senior Member
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using chmod to recursively change directories / files [GOD]Anck Linux - Software 6 11-10-2008 06:16 PM
Remove directories recursively with same name cboyd Linux - Newbie 5 01-14-2007 09:48 PM
Can ls recursively list only directories? Vosper Linux - General 3 07-16-2005 03:57 AM
Recursively listing files over FTP? overbored Linux - Software 4 10-14-2004 12:12 PM
tar, excluding directories recursively towlie Linux - Newbie 3 06-17-2004 12:32 PM

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration