#!/bin/bash # uncomment these for debugging. # echo ---- sourcing system wide bash.bashrc --- # [ $EUID -eq 0 ] && echo 'Root User' || echo 'Non Root User' # [[ $- == *i* ]] && echo 'Interactive' || echo 'Not interactive' # shopt -q login_shell && echo 'Login shell' || echo 'Not login shell' # echo ---- # echo sourcing $BASH_SHELL_LOAD source $BASH_SHELL_LOAD