Last active
October 19, 2019 01:57
-
-
Save sailfish009/265305e5da6fd949c0951218ef274ee3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Count number of files within a directory in Linux: | |
# https://stackoverflow.com/questions/20895290/count-number-of-files-within-a-directory-in-linux | |
ls -l . | egrep -c '^-' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment