Skip to content

Instantly share code, notes, and snippets.

@moritzsalla
Last active January 7, 2023 19:57
Show Gist options
  • Save moritzsalla/f42dae76e7fb278228974e48012f4daa to your computer and use it in GitHub Desktop.
Save moritzsalla/f42dae76e7fb278228974e48012f4daa to your computer and use it in GitHub Desktop.

Shell cheatsheet

Count all words in specific file type in sub directory

find . -name "*.md" -type f -exec cat {} + | wc -w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment