-
Notifications
You must be signed in to change notification settings - Fork 1
bash
Helen Burns edited this page Oct 4, 2016
·
4 revisions
The default shell on the NOCs system is in csh
Modern computers default to bash - all my shell scripts are in bash Converting between them is a pain! simply type:
bashand now you're in bash, but it's not read in your .bashrc!
source ./.bashrc # will read it!An example .bashrc can be found here
NB nocs bash version:
bash --versionbash has changed over the years so the scripts you write on your bash 4.x on your own machine may not work on the bash 2.x or bash 3.x . Notably the mathematical capability has changed between versions.
So if you want this to be your default set up then simply add to your .login before the exit statement:
exec /bin/bash --loginAny modules you want need to be setup before this as the setup command is in csh