Welcome to the ultimate guide on exiting Nano, just in case you ever find a system where the ultimate text editor (vim) isn't installed and you have to use the inferior nano.
Just press "Ctrl + X".
:wq
NOTE: This method is currently not working (plz fix).
- Type "Ctrl + R"
- Then "Ctrl + X"
- Type
pkill nano
- Hit "Enter".
Credit: @hakluke
- jUsT tHrOw yOuR cOmPuTeR aWaY looOOoOOoll!!11
Credit: @Kullai12
- Start chanting "Hocus Pocus, I'm out of focus!"
- Do a little dance
- It should work like magic 😆
Credit: @krishnsec
type nano inside nano?
now unplug the charger?
and use hammer 😬
Quit using computers altogether because clearly Nano is not for real hackers.
Close the terminal window. Easy peasy!
Unplug your computer.
Switch to Vim and then try to figure out how to exit that instead (good luck!).