Assuming you have created the data/db directory under bin after install.
<mongodb-install-directory>/bin
directoryRun the command
./mongod
Start a terminal for your mongo shell
<mongodb-install-directory>/bin
directoryRun the command (make sure you put the name of the database)
./mongo test