我要检查mongod
中的现有用户列表并创建一个新用户,该怎么办?
dz-gg-05@dz-gg-05:~$ sudo seervice monogod status
[sudo] password for dz-gg-05:
sudo: seervice: command not found
dz-gg-05@dz-gg-05:~$ sudo service monogod status
Unit monogod.service could not be found.
dz-gg-05@dz-gg-05:~$ sudo service monogod start
Failed to start monogod.service: Unit monogod.service not found.
dz-gg-05@dz-gg-05:~$
dz-gg-05@dz-gg-05:~$ sudo service monogod start
Failed to start monogod.service: Unit monogod.service not found.
dz-gg-05@dz-gg-05:~$ sudo service mongod start
dz-gg-05@dz-gg-05:~$ ^C^C
dz-gg-05@dz-gg-05:~$