The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
command to count files in dir
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
command to count files in dir
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
11-14-2006
kamitsin
Registered User
Join Date: Nov 2006
Location: /dev/null
Posts: 177
Quote:
Can you use this command to count all of the files over a certain size?
Use find. Look at man find for more options.
Code:
find /usr/bin/ -size 11k -exec ls {} \;|wc -l
kamitsin
View Public Profile
Find all posts by kamitsin
Find kamitsin's past nominations received
Find kamitsin's present nominations given