Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .