Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:services:application_services:high_performance_computing:bashrc [2015/05/20 11:02]
127.0.0.1 external edit
en:services:application_services:high_performance_computing:bashrc [2017/07/31 15:01] (current)
hsommer fix path for SL, put system defaults first
Line 1: Line 1:
 +====== .bashrc ======
 +
 +.bashrc is not being sourced by default in Scientific Linux, but .profile is. To use your .bashrc, used on other GWDG Resources, put this in your .profile:
 +
 +<​code>​
 +case "​$SHELL"​ in
 +/bin/bash)
 +    . /etc/bashrc
 +    . .bashrc
 +    ;;
 +/​usr/​bin/​bash)
 +    . /etc/bashrc
 +    . .bashrc
 +    ;;
 +/​usr/​local/​bin/​bash)
 +    . /etc/bashrc
 +    . .bashrc
 +    ;;
 +*)  ;;
 +esac
 +</​code>​