Skip to content

Instantly share code, notes, and snippets.

@rkennesson
Created September 22, 2019 18:53
Show Gist options
  • Save rkennesson/5a4cf4f7a252373d92e597ad5cddb76c to your computer and use it in GitHub Desktop.
Save rkennesson/5a4cf4f7a252373d92e597ad5cddb76c to your computer and use it in GitHub Desktop.
create message argument for shutdown command without manually escaping characters
sudo shutdown -r 15 $(cat <<EOF;
2015-11-07T03:34:41Z app[postgres.0000]: [TAG] text-search query doesn't contain lexemes: ""
EOF)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment