Count files beneath current directory (including subfolders)

find . -type f | wc -l

18
By: root
2009-01-23 17:19:32

What Others Think

my version echo $((`ls -l |wc -l`-1))
Mamay · 644 weeks and 1 day ago
doula jacksonville fl I need to know more
yeoyeo · 49 weeks ago
cant get over this. will recommend this to my friends. painters las cruces
looneyhans · 35 weeks and 2 days ago
This is really good news for everyone who wants to learn new writing skills which allow the students to improve their writing skills.I have tried to check on the https://bozemanmagazine.com/news/2021/04/06/110427-how-to-choose-college-in-the-state-of-montana review platform which also provides the best writing skills facility to many students who need writing documents in effective way.
Falk1993 · 21 weeks and 1 day ago
This is really good news for everyone who wants to learn new writing skills which allow the students to improve their writing skills.I have tried to check on the https://www.bozemanmagazine.com/news/2021/04/06/110427-how-to-choose-college-in-the-state-of-montana review platform which also provides the best writing skills facility to many students who need writing documents in effective way.
Falk1993 · 21 weeks and 1 day ago
This is really good news for everyone who wants to learn new writing skills which allow the students to improve their writing skills.I have tried to check on the www.bozemanmagazine.com/news/2021/04/06/110427-how-to-choose-college-in-the-state-of-montana review platform which also provides the best writing skills facility to many students who need writing documents in effective way.
Falk1993 · 21 weeks and 1 day ago
If you are part of the company, then you can access the myhr.kohls.com. If you are new in recruitment, continue reading the post to learn some useful details and guidelines related to the MyHR Kohls login portal.
bakige · 18 weeks and 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: