Linux: send all error to another program (PIPE) You can use the option : 2>&1 for this purpose. /mycommand.sh 2>&1 | mydescommand.sh 2019-10-08