Web Design

Categorized | cli

How many files?

You can easily find out how many files are in the current directory by typing the following in your Terminal session:

ls -l | wc -l

Author Profile

T4L ;

Other posts by T4L

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


1 Comment

  1. anonymous

    % ls -l | wc -l
    15
    % ls -1 | wc -l
    14

    1

1 Trackback(s)

  1. 22 02 2009 : How many files in this folder? « Linux & Stuff

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>