You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

You will find a familiar environment to other ECMWF platforms. Bash and Ksh are available as login shells, with Bash being the recommended option.

Note that CSH is not available. If you are still using it, please move to a supported shell.

If you wish to change the default shell you must do it from ECGATE

user@ecgb11:~> changesh
Enter your user id: user

Your current shell is: /bin/bash
Enter new shell [/bin/ksh, /bin/bash]: 

The change may take a few minutes to synchronise, and will only affect new sessions opened after it is into effect.

Shell initialisation and configuration files

FileWhen it is sourced?Who sources it?What is it for?
$HOME/.profile
each login and job executionBash and kshSuitable for your own login session settings (e.g. PATH).
$HOME/.bash_profile
each bash startup and job executionBash only

Suitable for your own login session settings (e.g. PATH).

It overrides .profile if present

$HOME/.bashrc
each bash startup and job executionBash onlySuitable for your own settings and aliases to load for all kinds of sessions, including non-login sessions.
$HOME/.bash_logout
each bash exit and end of jobBash onlySuitable for your own cleanup settings
$HOME/.kshrc
each ksh startup and job executionksh onlySuitable for your own settings to load for all kinds of sessions, including non-login sessions.
  • No labels