On Tue, 09 Nov 2004 16:56:06 -0600, Alex Malinovich wrote: >> I used to use the following command/alias to get the names under the >> current directory in RH: >> >> ls -l <criteria> | grep ^d | cut -c57- > > 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? PS. I used to use: ls -l <criteria> | grep ^l | cut -c57- which shows me the link files and their targets... tong -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]