sanket@sanket:~$ sudo mongod
sudo: unable to resolve host sanket
[sudo] password for sanket:
mongod --help for help and startup options
Sun Oct 5 09:58:48.970 [initandlisten] MongoDB starting : pid=2548 port=27017 dbpath=/data/db/ 64-bit host=sanket
Sun Oct 5 09:58:48.970 [initandlisten] db version v2.4.9
Sun Oct 5 09:58:48.970 [initandlisten] git version: nogitversion
Sun Oct 5 09:58:48.970 [initandlisten] build info: Linux orlo 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 BOOST_LIB_VERSION=1_54
Sun Oct 5 09:58:48.970 [initandlisten] allocator: tcmalloc
Sun Oct 5 09:58:48.970 …
Run Code Online (Sandbox Code Playgroud)