how to drop db in mongo shell
// First show what databases have you gotten
show dbs
// then, use the database name that you want to drop
use YOUR_DATABASE_NAME
// now you can drop it
db.dropDatabase()
// show collections should be empty now
show collectionsuse DB_NAME // go to the db you want to delete
db.dropDatabase()
show dbs
// droppped db will not be shown
Also in C++:
- installed quickcheck with cabal bu ghci can't find it
- sudo snap linux store
- approle hashicorp vault
- after checking out a previous commit go back to latest commit
- npm installation logs view
- customize dock in ubuntu
- certbot apache install
- how to install curl in centos 7
- install vm guest additions ubuntu
- command line calculate folder size
- create a new file in git bash
- linux tmux stop
- git pull a specific sha
- instagram private viewer api github
- How to get the latest powershell update
- ubuntu install okular
- write a program in shell script to find factorial of a number
- awk field separator space
- find text pattern in file linux
- snagit key code
- versão do meu linux
- bash how to remove rows if specific field is blank
- instal bable for linux
- windows run powershell script from task scheduler