How do I get a recursive directory listing?
One of the following may do what you want:ls -R (not all versions of "ls" have -R)
find . -print (should work everywhere)
du -a . (shows you both the name and size)
If you're looking for a wildcard pattern that will match all ".c"
files in this directory and below, you won't find one, but you
can use
% some-command `find . -name '*.c' -print`
"find" is a powerful program. Learn about it.
Home | FAQ |