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
Antonio Silva -
Vivesh -
Avesh -
Pranav Bakare -
Top comments (0)