Answer the question
In order to leave comments, you need to log in
Bash scripts and stream redirection
There is a bash script fragment that does the following
/usr/bin/mysqldump -u dbuser -p"userpass" database > db.sql
/usr/bin/mysqldump -u dbuser -p"userpass" database > db.sql > /tmp/log
Answer the question
In order to leave comments, you need to log in
/usr/bin/mysqldump -u dbuser -p"userpass" database > db.sql 2>error.log
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question