mongo --eval "printjson(db.serverStatus())"
mongo < file_with_commands.txt
mongo
mongodump, mongorestore
mongoexport
mongo --help
Advertising: