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
Navaneethan Ghanti -
Kosa Matyas -
Adrian Paul Nutiu -
Atulpriya Sharma -
Top comments (0)