Determine the File Count in Unix Directory
May 21, 2008 · Print This Article
To determine the number of files in the Unix directory, use the following command.
CODE:
-
ls -l | grep -c "^-.*"
May 21, 2008 · Print This Article
To determine the number of files in the Unix directory, use the following command.
Written by Mark Marucot · Filed Under Unix
Tagged: File Management, Unix
Sign up to receive breaking news
as well as receive other site updates!
Copyright © 2008 · All rights reserved · Revolution Pro theme by Brian Gardner · WordPress · XHTML · Log in




Comments
Got something to say?