Mongodb how to cancel a --fork without mongod service 'option' I am currently having issues with sudo service mongod start/stop/etc so instead I have been running mongo with sudo mongod --storageEngine wiredTiger --dbpath /data --bind_ip_all  --logpath /var/log/mongodb/mongod.log --auth --fork but I received errors if I wanted to change any of those --options (such as --bind_ip_all to something more specific) to something else and I am assuming it is because the --fork has never been cancelled.

To summarize, how do you cancel mongod through the cli so that I can update the call?
You just kill the process. killall mongod

To check that you don't have any mongod process running anymore, you can use ps -ef|grep mongod|grep -v grep  or just pgrep mongod. With that latter, if you get pid number (as answer), mongod is still running