On Thu, Nov 11, 2004 at 02:23:13PM -0500, Tong wrote: > On Tue, 09 Nov 2004 16:56:06 -0600, Alex Malinovich wrote: > > To get a list of directories in the CURRENT directory, just do: > > > > ls -d */ > > Ok, the problem of directories names solved. Now, how about links?
I don't know of an easy way with `ls' here, so I think `find' is best. To find all links in this and all subdirs: find . -type l or just in this dir: find . -type l -maxdepth 1 without dotfiles: find . -type l -maxdepth 1 -name "*" `man find` will give you more options than you should ever need. :) -- Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] "Let your advance worrying become advance thinking and planning." - Winston Churchill -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]