Garayed.com  

Go Back   Garayed.com > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-14-2006, 08:29 PM
Vilmos Soti
 
Posts: n/a
Default Re: number of files

Roy Schestowitz <newsgroups@schestowitz.com> writes:

> __/ [ Rita ] on Tuesday 14 March 2006 19:46 \__
>
>> Hi ,
>> Is there any command in linux to know how many files are in directory?
>> Thanks

>
> alias nfiles='find . -type f | wc -l'


This will give the number of files not only in the present
directory, but in all directories under.

Rita, is this what you want? Or are you interested in only the
present directory? And hat about other objects like directories?
Should they be included too?

Vilmos
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:58 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.