Shell/Bash: uninstall mongodb ubuntu Example
Shell/Bash Example: This is the "uninstall mongodb ubuntu" Example. compiled from many sources on the internet by SimpleTutorials.org
uninstall mongodb ubuntu
sudo apt-get purge mongodb-org*
mongodb install in ubuntu
sudo apt update sudo apt install -y mongodb //checking service and db sudo systemctl status mongodb or service mongodb status //start service sudo systemctl start mongod or service mongodb start //stop service sudo systemctl stop mongod or service mongodb stop
start mongodb
sudo systemctl start mongod
uninstall mongodb ubuntu
sudo rm -r /var/log/mongodb sudo rm -r /var/lib/mongodb
start mongodb service ubuntu
sudo systemctl start mongod sudo systemctl stop mongod
* Summary: This "uninstall mongodb ubuntu" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!