7

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 these functionalities to my terminal from command line?

1 Answer 1

15

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.

5
  • bash - works, thanks!! The permanent fix didn't change anything though, but I definitely do not mind typing bash - every time I log in Dec 21, 2012 at 17:21
  • 1
    You need to run chsh -s /bin/bash yourusername then login again after running it before you should notice the difference.
    – squareborg
    Dec 21, 2012 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! Dec 21, 2012 at 17:29
  • Hey no worries, can you mark the answer as correct when you can please.
    – squareborg
    Dec 21, 2012 at 17:30
  • thankx mate. saved me tonns Sep 8, 2021 at 10:19

You must log in to answer this question.

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