command not working please help me

August 3, 2014 833 views

sir i am trying to go through this command /usr/sbin/visudo its ok 1st time
but after saving it esc ctrl zz button to save its chowing
[+1] stopped /usr/sbin/visudo

why its stooped after saving it please help

1 Answer

On CentOS visudo uses the Vim text editor to edit your sudoers file and check its syntax. Running CTRL-Z suspends Vim. Running the command fg will bring it back to the foreground. To quit, type :wq Check out this Vim cheat cheat for more info.

Have another answer? Share your knowledge.