Changing from a distro that defaults to nano to another that defaults to vim… What to do other than installing nano and changing visudo?
Changing from a distro that defaults to nano to another that defaults to vim… What to do other than installing nano and changing visudo?
Nano, because it’s the only one I can remember how to quit from without power cycling the computer.
You are in edit mode and you need to get out of it. Press ESC, and then colon which will show in the text area at bottom of window. If you want to save, push w, then q and the enter to quit. If you want to quit without saving, you have to force with !.
Escape, colon, (W)ith save, (Q), Enter
Or
Escape, colon, (Q)uit, !, Enter
If you just want to use the text editor commands, you just do escape to be able to enter text on the line.
Top Tip: open another terminal and kill the task from there
( /s )
Either you forgot your sarcasm tag or you shouldn’t be using computers 🤣.