My host came with a mongodb instance and there is no /db directory so now I am wondering what I can do to find out where the data is actually being stored.
For windows Go inside MongoDB\Server\4.0\bin folder and open mongod.cfg file in any text editor. Then locate the line that specifies the dbPath param. The line looks something similar