On the machine to open an account to colleagues, the result of SSH landing, complete, highlighting are not, but my own account can be. The first suspicion is that there is a problem with the. bashrc file setting, compared to 2 user directories, this file does not find a place to be. Search learned that may be used by the shell is different, because the completion is generally through a corresponding completion of the script or built-in complement function, all inferred 2 users use different shell, so in 2 users respectively Echo $SHELL, sure enough, one is/bin/bash, one is/ Bin/sh, and SH is a symbolic link, pointing to/bin/dash,ubuntu by default is dash, generally through the/bin/sh symbolic link to point to, if you want to switch it to bash, execute:
sudo dpkg-reconfigure Dash
Select Yes, no to switch Ubuntu default shell, but this will affect other users, can you specify the shell they use for different users individually? Open/etc/passwd File:
The last field for the user specifies the shell type to be used when the user logs in, and if not specified, the default/bin/sh is used. How do I change this setting?
sudo usermod-s user name Shell type
How the shell used by the user in Ubuntu is specified