Or the command ls -d */ will also do the same job hth
> > % ls -F | grep / > > Without the trailing / on all of them: > > % ls -F | grep / | cut -d/ -f1 > > Michael > -- > Michael Darrin Chaney > [EMAIL PROTECTED] > http://www.michaelchaney.com/ -- Xander R. Solis ----------------------- A journey of a thousand miles must begin with a single step. -Lao-zi GNUPG Key: 1024D/5257774A Asia Pacific College - CNE32 ________________________________________________________________________________________ This email message was delivered to you by <http://www.apc.edu.ph> Asia Pacific College. Scanning and Virus Filtering is delivered by <http:///www.ravantivirus.com> RAV Antivirus. For more information, please visit our website or email the system administrators at mailto:[EMAIL PROTECTED] -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
