Docs Menu

cd()

On this page

  • Definition
cd(path)
Parameter
Type
Description
path
string
A path on the file system local to mongosh context.

cd() changes the directory context of mongosh and has no effect on the MongoDB server.

On this page

Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.