ECE’s Supported Shell Configurations

Your default shell, set by OIT, could be one of the following:

    /bin/bash
    /bin/ksh

To check your shell, type:

    env | grep SHELL

If your default shell is /bin/ksh, perform the following to convert to /bin/tcsh:

    echo <<EOF>~/.kshrc
    tcsh
    EOF

You will receive an error at login about “COLUMNS” and “EXPORT”. These two errors can be ignored. ECE does not support using /bin/ksh, so you are on your own if you choose to use this shell.

If your default shell is /bin/bash, ECE provides a supported .bashrc under RHEL6. You must perform the following (if the links do not already exist):

    mv ~/.bashrc ~/.bashrc.old
    mv ~/.bash_login ~/.bash_login.old
    ln -s /usr/local/lib/bashrc ~/.bashrc
    ln -s /usr/local/lib/bash_login ~/.bash_login
    touch ~/.my-bashrc

Add any custom settings to ~/.my-bashrc.

The supported shell for ECE’s software applications is /bin/tcsh. To convert to using /bin/tcsh as your login shell, perform the following (if the links do not already exist):

    mv ~/.bash_profile ~/.bash_profile.old
    mv ~/.cshrc ~/.cshrc.old
    ln -s /usr/local/lib/bash_profile ~/.bash_profile
    ln -s /usr/local/lib/cshrc ~/.cshrc
    touch ~/.my-cshrc

Add any custom settings to ~/.my-cshrc.

We do not have a method for automatically converting non-login shells at this time, sorry. Just type ‘tcsh’ at a prompt to switch.

Be weary of sourcing ECE applications in your ~/.my-cshrc. Due to static libraries required by some of these big applications, you could break your login and basic OS functionality.

Last revised January 2, 2015.