I use Termux on my Fairphone 2 and I want to speed up working with it. What slows me down is not having an up arrow key that I can use to access the last command in my bash history. I can do !! !7 and so on, but most of the time I don't want to actually repeat the commands, I just want to do something similar. I know some keyboard shortcuts to work with my bash history but they require a ctrl key, which none of my keyboards have. I use

  • AnySoftKeyboard
  • Hacker's Keyboard
  • AOSP Keyboard

None of them have up arrow or ctrl keys

At the moment, I select and copy text by touching, but this is still slow.

How can I access my previous commands more quickly?

3 Answers 3


See the Termux help page for how to input arrow keys using the VolumeUp button, VolumeDown for Ctrl and some additional shortcuts!

Volume Up+W → Up arrow key

  • Congratulations for your app, mister.
    – Grimoire
    Oct 2, 2016 at 20:02

You said you use Hacker's Keyboard. If you turn the device into landscape mode Hacker's Keyboard does indeed have all four arrow keys along with ctrl & alt.

  • I use AnySoftKeyboard and it has up arrows on the code section :)
    – Zanna
    Feb 5, 2018 at 6:16

Volume UP + Q to add Ctrl, esc, tab, alt Keys on Termux

  • I seem to get a printed q if I do that
    – Zanna
    Jan 2, 2017 at 12:30

You must log in to answer this question.

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