Posts

Showing posts from April, 2014

Capture everything from your bash script

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