[Gllug] Locating Subdirectories

Mick Farmer mick at dcs.bbk.ac.uk
Tue Jul 27 10:51:12 UTC 2004


Dear GLLUGers,

I need to obtain the names of all the subdirectories in the
current directory.  I'm currently using the following.

	find * -type d -maxdepth 0

Does anyone have anything simpler?

Regards,

Mick               /"\                      
                   \ /                      
Linux Registered    X  ASCII Ribbon Campaign
User #287765       / \ Against HTML Mail
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list