Super User is a question and answer site for computer enthusiasts and power users. 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'm used to using the unix shell where when I write the beginning of a command (say ca) and hit the up arrow, I will only get commands in history that begin with "ca". In my current shell (brand new ubuntu) when I hit the up arrow I always get the previous command... Also, here typing Ctrl-P doesn't move me to the previous word... How can I get the shell that does?

share|improve this question

migrated from Jun 3 '11 at 8:35

This question came from our site for professional and enthusiast programmers.

For the history-search enter this into your ~/.inputrc

share|improve this answer
+1, indispensable. – l0b0 Jun 3 '11 at 13:51

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.