Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I access via ssh (command line) a linux machine and the user is not configured to do anything. Backspace does not work, there is no tab completion, the current folder does not appear in the terminal (just a $ sign). There is also no bash history.

The Ubuntu version 12.04 and I only have ssh access to it, I cannot access its graphical interface. When I log in it goes automatically to a Tomcat folder, but there is a home folder where I tried copying a properly configured .bashrc file with no success.

How can I add this functionalities to my terminal from command line?

Thanks!

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

try running bash - from the command line you may be in a basic shell by default. If this fixes it you can run to fix it permanently.

chsh -s /bin/bash yourusername

then login again.

share|improve this answer
    
bash - works, thanks!! The permanent fix didn't change anything though, but I definitely do not mind typing bash - every time I log in –  Chicoscience Dec 21 '12 at 17:21
    
You need to run chsh -s /bin/bash yourusername then login again after running it before you should notice the difference. –  Shutupsquare Dec 21 '12 at 17:27
    
hehe I thought only opening a new terminal would do it. Indeed after I logged out completely and logged in again, it became permanent. Sorry to bother you with my stupidity! Thanks again! –  Chicoscience Dec 21 '12 at 17:29
    
Hey no worries, can you mark the answer as correct when you can please. –  Shutupsquare Dec 21 '12 at 17:30
add comment

Your Answer

 
discard

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.