On Thu, Sep 11, 2003 at 02:38:45AM -0000, Xander R. Solis wrote:
> Or the command ls -d */ will also do the same job
Wow, I haven't learned anything about Unix for a while, this is a good
one.
This gives you an easy way to script something to run on all
directories:
for dir in */; do
echo ${dir}
done
Very elegant.
Michael
--
Michael Darrin Chaney
[EMAIL PROTECTED]
http://www.michaelchaney.com/
--
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