Mon 9 Oct 2006
This will count the number of files in the current directory from a linux command line.
ls -l | grep '^-' | wc -l
Mon 9 Oct 2006
This will count the number of files in the current directory from a linux command line.
ls -l | grep '^-' | wc -l