Skip to content

Instantly share code, notes, and snippets.

@wilrnh
Last active December 5, 2018 16:05
Show Gist options
  • Save wilrnh/6e26281d317e722fc91e4db4491a9828 to your computer and use it in GitHub Desktop.
Save wilrnh/6e26281d317e722fc91e4db4491a9828 to your computer and use it in GitHub Desktop.
send all output to logger
exec 1> >(logger -s -t $(basename $0)) 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment