Skip to content

Instantly share code, notes, and snippets.

@joekrump
Last active March 13, 2020 16:32
Show Gist options
  • Save joekrump/8ff4ab47e18a0d400933a1a8782ef632 to your computer and use it in GitHub Desktop.
Save joekrump/8ff4ab47e18a0d400933a1a8782ef632 to your computer and use it in GitHub Desktop.
Bash Commands
# Filter down to viewing a single process when running `top` in terminal
top -pid `pgrep "<process_name>"`
# Output the number of lines per file in a directory that have "spec" in their name
find client-src/apps/main/matters -type f|xargs wc -l |grep spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment