Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 logging into a remote linux box:

 Linux lbox 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64 GNU/Linux

and my keyboard mapping seems to have gone down the drain.

up: ^[[A
down: ^[[B
right: ^[[C
left: ^[[D
tab: Real tab (doesn't do auto-completion)

What is happening?

share|improve this question
How are you logging in? What client? What do you see from echo $TERM? Have you tried running reset, or simply reconnecting? – Zoredache Oct 5 '12 at 0:24
Hi. I'm using gnome-terminal. echo $TERM returns xterm – denormalizer Oct 5 '12 at 0:28
I'm such a noob. I was in the C shell :( – denormalizer Oct 5 '12 at 0:55
up vote 0 down vote accepted

apparently I was automatically logged into /bin/sh instead of the bash shell

typing: bash brought me into the bash shell

> bash

Now looking into making bash my default shell

share|improve this answer
chsh -s /bin/bash myusername – denormalizer Oct 5 '12 at 0: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.