I am having difficulty with some shell commands and think that it is due to a failure of my shell being set to BASH.
The following commands solve my problem:
bash --login
Or simply by typing
bash
Therefore it seems that I need to reconfigure my shell to bash which should be simple. My default $SHELL variable is /bin/bash
I think it is due to the following setting under my terminal preferences:
run a custom command instead of my shell
/bin/tcsh/
Why should my shell preferences be set to this, what is the advantage/use of tcsh over bash?
Also, how should I overcome this issue while still retaining use of any of the features which may rely upon this default terminal preference (/bin/tcsh)
Here is some of my system information:
Ubuntu 14.02
$SHELL
/bin/bash
$BASH_VERSION
undefined variable
I have previously used the following command to change from DASH to BASH:
sudo dpkg-reconfigure dash
I have also previously used the following command:
sudo apt-get install csh