[Novalug] question about ls
Nino R. Pereira
ninorpereira at gmail.com
Mon Jan 16 11:11:30 EST 2012
On 01/16/2012 09:58 AM, Peter Larsen wrote:
> On Mon, 2012-01-16 at 08:55 -0500, Nino R. Pereira wrote:
>> Thanks to all who replied.
>>
>> I'm sorry to say that I mislead you. My command was not simply
>>
>> ls -l
>>
>> but it was
>>
>> ls -l cryst*
> See - I knew something wasn't right :)
yes ;-(
>
> ls -dl cryst*
>
this actually gives only the directory, not what's in it.
When I try to see if 'ls' has an option like tree, -L, I look
in the man pages, but because these are so long I do
man ls > temp
which gives me a file I want to search for '-L' with grep.
But, this doesn't work because in the command
cat temp | grep -L
grep thinks '-L' is an option, and when I do
cat temp | grep '-L' (or even 'grep -i '-L')
it isn't any better.
How do I get ls to tell me
crystals:
accounting orders quartz technical
Nino
>
> _______________________________________________
> Novalug mailing list
> Novalug at calypso.tux.org
> http://calypso.tux.org/mailman/listinfo/novalug
More information about the Novalug
mailing list