Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed Ubuntu Server 10.10, and when I press up in a terminal nothing happens. Using Ubuntu Desktop it gave me the previous command that I ran.

How can I make it do this in Ubuntu Server as well?

share|improve this question
It should just happen... Are you sure you have some command history for it to repeat? Do you have a file named ~/.bash_history? – phunehehe Apr 16 '11 at 1:41
The keyboard mapping was indeed incorrect. I fixed it. Thanks! – iTayb Apr 16 '11 at 8:58
up vote 2 down vote accepted

Does the up arrow key work in other contexts? It sounds like you might have the keyboard mapped wrong, bash history should be pretty easy.

share|improve this answer
(I moved this answer from a comment to an answer, it was a long shot so I figured I wouldn't clutter the answer space, but since it came out right... :) – Caleb Apr 16 '11 at 10:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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