Where's my tab completion and up-arrow behavior? (Ubuntu 10.04)

Posted by pastorius on Server Fault See other posts from Server Fault or by pastorius
Published on 2010-10-28T16:33:35Z Indexed on 2012/09/21 15:41 UTC
Read the original article Hit count: 176

Filed under:
|
|
|

I'm new to Linux, trying Ubuntu 10.04, preconfigured by host.

When I log in (SSH) using the preconfigured account, the shell prompt is: user@hostname:~$

The up arrow scrolls through the list of recent shell commands, and tab-completion works as expected.

However, when I create an account and log in (SSH) using that account, the shell prompt is simply "$", and the up arrow just prints a control character (^[[A).

Can anyone tell me how to get my prompt, tab-completion, and up-arrow behavior set up? The fact that I'm getting control characters when I up-arrow makes me think that my account (or session) is in some mode I'm unfamiliar with.

I know there is tab-completion code stored in bashrc that I can uncomment, but that doesn't seem to have any effect, even after logging out and logging back in.

Am I in some strange mode when I SSH in with the new account, or are there just some session/account settings I need to set up, and can find information for anywhere on the Internet if I just knew what to look for?

© Server Fault or respective owner

Related posts about linux

Related posts about ssh