My gnome-terminal on a ubuntu 10.10 machine is not working the way it should work. No autocomplete is working. ctrl + l won't clear the screen, bash prompt is simply a $ and nothing else. I got this machine passed on from someone else. I just created a new user for myself and hoped that I would get a fresh start.

I checked and there is no /etc/profile or /etc/bashrc. There was a folder named .profile.d that I renamed to something else. Stil the problem persists.

There are no configuration files inside my home directory either (.bashrc, .bash_profile, .bash_aliases)

  • Sounds like you are running sh instead of bash. Try a ps $$ to confirm.
    – jw013
    Commented Apr 9, 2012 at 19:28
  • yes ! it says sh. I remember I should specify what would be my login shell but dont remember where. Usermod should do the trick ?
    – AnkurVj
    Commented Apr 9, 2012 at 19:31
  • chsh if you have that.
    – Mat
    Commented Apr 9, 2012 at 19:32
  • @Mat usermod worked for me .. didnt try chsh
    – AnkurVj
    Commented Apr 9, 2012 at 19:43

1 Answer 1


make sure that you are indeed running bash and not another csh for example by executing the following:

ps -p $$

This will tell you what shell you are running. If this returns something different than bash you can try your shortcuts after running the following:


You can also change the users shell by running:

chsh -s /bin/bash `whoami`

You must log in to answer this question.

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