If you want to show all collections from the MongoDB shell (command line), use the shell helper,
show collections
that shows all collections for the current database. If you want to get all collection lists from your application then you can use the MongoDB database method
db.getCollectionNames()
For more information about the MongoDB shell helper, you can see mongo
Shell Quick Reference.