Capture everything from your bash script

#!/bin/bash
exec > >(tee /var/log/myutil.log| logger -t "$0" -s 2>/dev/console) 2>&1
...

Comments

Popular posts from this blog

Fedora - VNC through systemd/xinetd

YAML Syntax Highlighting in gedit

SSID design considerations with multiple band access point