I use Termux and GNU nano to edit program text but I don't know how to save it from Nano. Normally in Nano I press shift + O but with Android (I use Samsung S8) the ctrl + O instead prints the char O.

How should I save and exit Nano?

  • 1
    Are you using a virtual or a physical keyboard? – Grimoire Jul 13 '17 at 10:00
  • @DeathMaskSalesman Virtual – Niklas R. Jul 13 '17 at 19:15
  • 1
    Try pressing O while holding down Volume-. – Grimoire Jul 13 '17 at 20:27

You can exit by using (ctrl + o) not (shift + o)

Tip. In termux use vim instead. not because of "text editor wars" but it is painful to send ctrl and shift keys even with modified keyboards similar to hacker's keyboard

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.