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
anekos -
yayabobi -
Jeffrey Boyle -
Hafiq Iqmal -
Top comments (0)