Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

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)

I could use any help for troubleshooting this problem

share|improve this question
Sounds like you are running sh instead of bash. Try a ps $$ to confirm. – jw013 Apr 9 '12 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 Apr 9 '12 at 19:31
chsh if you have that. – Mat Apr 9 '12 at 19:32
@Mat usermod worked for me .. didnt try chsh – AnkurVj Apr 9 '12 at 19:43
up vote 3 down vote accepted

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`
share|improve this answer

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.