Documentation
On this page
cd() changes the directory context of the mongo shell and has no effect on the MongoDB server.