Ever wish a script’s entire output was also logged to systemd’s journal?
exec &> >(tee >(systemd-cat) )
Just put that line at the top of your script and Bob’s your uncle!
Ever wish a script’s entire output was also logged to systemd’s journal?
exec &> >(tee >(systemd-cat) )
Just put that line at the top of your script and Bob’s your uncle!
For further actions, you may consider blocking this person and/or reporting abuse
Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.
Sushant Gaurav -
Julie Ryan -
Warren Parad -
Adithya K B -
Top comments (0)