Skip to content

Instantly share code, notes, and snippets.

@lxneng
Created May 17, 2011 08:32
Show Gist options
  • Save lxneng/976156 to your computer and use it in GitHub Desktop.
Save lxneng/976156 to your computer and use it in GitHub Desktop.
grep -c '' filename
cat filename | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment