On 7/22/05, Bruno Cesar Ribas <[EMAIL PROTECTED]> wrote: > On Fri, Jul 22, 2005 at 12:01:45PM -0500, Andrew Nelson wrote: > > Although it seems this is far more difficult that it should be to remove > > all non > > "." file from the output of ls. Does any one know of a better way? > If you want to list only the dot-started files you could do something like: > $ls -a1 |grep "^\."
What's wrong with $ ls -d .* ? -- Michael A. Marsh http://www.umiacs.umd.edu/~mmarsh http://mamarsh.blogspot.com