Skip to main content

Important Mongo Shell Commands

  • Select database: use <database>
  • Show available databases on the current server: show dbs
  • Show available collections in the current database: show collections
  • Show help: help