Skip to content

Instantly share code, notes, and snippets.

@jamiembrown
Created January 24, 2014 17:15
Show Gist options
  • Save jamiembrown/8601748 to your computer and use it in GitHub Desktop.
Save jamiembrown/8601748 to your computer and use it in GitHub Desktop.
Bash function to emulate Linux watch on Mac OS
function watch {
while :; do clear; $@; sleep 2; done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment