Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to run mongodb shell

# After installing MongoDB Shell in terminal type:
mongosh
Comment

start mongodb in terminal

Start a terminal for your mongo server
Go to <mongodb-install-directory>/bin directory
Run the command./mongod
Start a terminal for your mongo shell
Go to <mongodb-install-directory>/bin directory
Run the command (make sure you put the name of the database)./mongo test
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu 20.04 ifconfig public ip address 
Shell :: apt install codium 
Shell :: linux add user with home directory 
Shell :: git pull <remote 
Shell :: How to install cookies react 
Shell :: check which python script is running 
Shell :: influxdb version 
Shell :: bash print a blank line 
Shell :: what is bin/bash 
Shell :: rm remote git 
Shell :: powershell global variable 
Shell :: sonarqube linux installation 
Shell :: how to deploy heroku app 
Shell :: what is bash 
Shell :: git rebase feature branch 
Shell :: nvm fish shell 
Shell :: github clone with access token 
Shell :: check scheduler on localhost laravel 
Shell :: cannot reindex from a duplicate axis 
Shell :: create react and rails app 
Shell :: how to git push to current branch 
Shell :: how to git clone a branch github 
Shell :: What is user and group in linux? 
Shell :: sitecore powershell repo 
Shell :: uninstalling vscode for centos 8 
Shell :: add kdiff3 to git 
Shell :: shortan promt ubunto 
Shell :: list all the created users only 
Shell :: cast my phone screen on laptop in arch linux 
Shell :: git init set upstream 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =