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
Saloni Singh -
hamill -
Antonio Silva -
Kiran Baliga -
Top comments (0)