Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:services:application_services:high_performance_computing:bashrc [2015/05/20 11:02] – external edit 127.0.0.1en:services:application_services:high_performance_computing:bashrc [2017/07/31 15:01] (current) – fix path for SL, put system defaults first hsommer
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>