lsof -iTCP -sTCP:LISTEN -n -P: See what is running on which portkill {portnumber}: Stop whatever is running on designated portmongod --dbpath {dir_path}: Specify where mongodb should start up the databasemongosh: Enter the mongodb shell
use {db_name}: Create a database by namedb.{collection_name}.insertMany({json_array}): Insert multiple records into a database collection