Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 1 down vote accepted

I don't think you mean

/usr/bin/mysqldump args

versus

mysqldump args

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

mysqldump args > outputfile

or

mysqldump args -r outputfile

versus

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
add comment

Your Answer

 
discard

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.