Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm wondering if I don't specify path to mysqldump command, no file will be saved and output will be just seen on terminal screen?

Is this correct?

share|improve this question
up vote 2 down vote accepted

I don't think you mean

/usr/bin/mysqldump args


mysqldump args

which is what "path to mysqldump command" sounds like. But that you mean

mysqldump args > outputfile


mysqldump args -r outputfile


mysqldump args

If that's the case then if you don't specify an output file then the output will be to stdout (i.e. the terminal).

share|improve this answer
yes I did mysqldump args and expected file to be created :) instead I got it in terminal. I did > and it all went good. – Sandro Dzneladze Jul 14 '12 at 10:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.