Wednesday, August 11, 2010

Counting Number of Files in a directory - UNIX/ Linux

Go to that directory first and then type the following command:


Command: ls | wc -l

No comments:

Post a Comment