Created
July 9, 2019 21:50
-
-
Save rbrigby/38964ca987e43afa18bcdfbf855f4c12 to your computer and use it in GitHub Desktop.
count lines in linux dir
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
# https://linux.die.net/man/1/wc | |
# count lines in linux dir with filename containing foobar | |
ls -l | grep foobar | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment