Once you are in the terminal/command line, access the database/collection you want to use as follows:
show dbs
use <db name>
show collections
After that choose your collection and type the following command to see all the contents of that collection:
db.collectionName.find()