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
    Commented Jul 13, 2017 at 10:00
  • @DeathMaskSalesman Virtual Commented Jul 13, 2017 at 19:15
  • 1
    Try pressing O while holding down Volume-.
    – Grimoire
    Commented Jul 13, 2017 at 20:27

1 Answer 1


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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .