On Tue, 29 Jun 1999, April Escamilla wrote:
> hey everyone,
>
> anyone out there familiar with Sco unix? I know this is a linux group,
> but we'd like to know the best possible way to see *how many files* are in a
> given directory. any thoughts would be appreciated...
ls -l | wc -l
should give you number of files in the directory + 1
or you can try:
ls -w1 | wc -l
Which should give you the number of files.
Should work on any *nix.
RHP
--
Richard H. Pistole - [EMAIL PROTECTED]
The Nothingest Man on the Net.
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]