Skip to content

Instantly share code, notes, and snippets.

@dvydra
Created March 2, 2011 22:29
Show Gist options
  • Save dvydra/851901 to your computer and use it in GitHub Desktop.
Save dvydra/851901 to your computer and use it in GitHub Desktop.
because i always forget how this works
for i in 1 2 3 4; do grep happy /var/log/server_$i.log|wc -l; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment