After logging from Mongoshell how to export DB

I want to pefrom like below,

Step1 :-- login to MongoDB
Step2:- export data .

every where I can see options like export along with URI username &password.

Thanks in advance!!

You might have seen the mongo documentation

mongoexport is a command-line tool that produces a JSON or CSV export of data stored in a MongoDB instance.

Run mongoexport from the system command line, not the mongo shell.