[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

quick directory question



Hello,

I am trying to list all the directories in a directory and put it into a file.

So far I have :
$ ls -all -F | grep /$ | awk '{print $8}'
./
../
.netscape/
mail/

which almost gives me what i want but i need to get rid of that / at the end, can someone help me out?

If anyone has an easier way, can you let me know?

Thanks



PS. I feel a little embarrased asking such a simple question but o well =)
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



Reply to: