Listing *only* directories?

Ken Heard ken-qoNZw2a/gFtBDLzU/O5InQ at public.gmane.org
Wed Jan 14 00:12:44 UTC 2004


I stumbled on my solution completely by accident.  Years ago I decided 
that it was a good practice not to have both data files and 
subdirectories in the same directory.  So, since any directory that has 
subdirectories will only have subdirectories, ls will only list 
subdirectories.

				Ken Heard


--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list