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

Re: can I list just the directories, executables?



Quoting Ookhoi (ookhoi@dds.nl):
> 
> I have 
> alias dir='ls -al | grep ^d | grep -v grep'

                                ^^^^^^^^^^^^

I take it you copied that alias from one involving ps,
where you need the last bit to stop it seeing itself.
You don't want it here.

> in my /etc/profile. I like it. :-)

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


Reply to: