predate.sh linux error logging code example Example: predate.sh linux error logging ( myscript.sh 3>&1 1>&2- 2>&3- ) | ./predate.sh >error.log