echo "show dbs" | mongo --quiet should:
- not display anything apart from the command output result
- optionally separate result form mongo other information (when not invoked via --quiet)
To allow easy use of the shell's output in the context of shell tools. (for db in `echo 'show dbs' | mongo --quiet`; do; mongodump $db; done ...)