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

Re: Unix 101: ls with file count



On Tue, 25 Jun 2002 00:24:23 -0500, Kent West wrote:

>Wienand Ian wrote:
<snip>
>Actually, it worked just fine when I copied/pasted it. I'm using bash. 
>As you suggested, I replaced the double-quotes with singles, and it 
>works the same. Or it appears to at least.
>
>However, when I added ";ls |  wc -l` Total Files'" to the end, I get a 
>count of 16 directories, 8 files, and 25 Total Items. Something's not 
>adding up.

You might want to use "ls -a" and "ls -al" to be sure you get the dot
files and directories eg. .emacs or .openoffice/
--
gt
It is interesting to note that as one evil empire (generic) fell,
another Evil Empire (tm)  began its nefarious rise. -- gt
Coincidence?  I think not.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: