Skip to content
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:

   bash

and 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 --version

bash 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.

Setting as default

So if you want this to be your default set up then simply add to your .login before the exit statement:

    exec /bin/bash --login

Any modules you want need to be setup before this as the setup command is in csh

Clone this wiki locally