Friday, July 31, 2020

UNIX

How could I get a count of files in a UNIX Directory ?

This will give you the total of files in the current directory: 195 files

bash-4.1$ ls -l | wc -l
195


No comments:

Post a Comment