My user's shell prompt is stuck as
[bash-4.2]$and many useful commands like
lldon't work on that bash-4.2 shell.
I tried the
chsh command and
usermod commands, but neither fixed this.
I've checked in the
/etc/passwd file, the shell associated with my user is
/bin/bash. The other users too have the same lines but those users are presented with the normal bash prompt:
# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/.local/bin:$HOME/bin export PATH
I've noticed that when I log into my user
vin through the root or an another account that has the normal bash, it stays on that bash type, doesn't get back to the broken bash.
What could be wrong? Does anyone know how to fix this?