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

Re: question about ls



On Thu, 27 Sep 2018 09:14:00 -0400, Greg Wooledge <wooledg@eeg.ccf.org> wrote:
> But also note that using ls -l gives a completely wrong answer.
>
> wooledg:~$ mkdir /tmp/x && cd "$_"
> wooledg:/tmp/x$ touch $'this\nis\none\nfile'
> wooledg:/tmp/x$ ls -l | wc -l
> 5
>

	What about 'ls -1b | wc -l'?

-- 
Virgo Pärna 
virgo.parna@mail.ee


Reply to: