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

Re: For the love of GOD!!!



On Fri, Jul 22, 2005 at 12:01:45PM -0500, Andrew Nelson wrote:
> 
> I thought the question was to get rid of non "." files all together not simply
> to put "." files and the top and non "." files at the bottom.  My mistake.
> 
> 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?
> 
> //andy
> 
If you want to list only the dot-started files you could do something like:
$ls -a1 |grep "^\."

it will "hide" non-dot-started files.

hope it can help

-- 
Bruno Ribas - ribas@ufpr.br



Reply to: