Frequently Asked Questions about the Simplified HEPiX scripts¶
Frequently Asked Questions about the Simplified HEPiX scripts
In October 2011, the Linux Certification Committee agreed to a proposal to simplify the HEPix scripts for SLC6. These simplifications are implemented in version 4 of these scripts.
This page describes the main user-visible changes, and gives suggestions for end-users who miss certain functionalities. These suggestions could be implemented in the user's dot-files, or in the group-specific scripts under /afs/cern.ch/group/XX.
Your feedback is welcome at Linux.Support@cern.ch.
How to switch off HEPiX scripts altogether?
An "off-button" exists already in version 3 of the scripts. To completely disable the HEPiX script, simply run:mkdir $HOME/.hepix touch $HOME/.hepix/off
What variables have disappeared?
Bourne-shell family | C-shell family | |
CERNLIB |
CERN=/cern CERN_LEVEL=pro CERN_ROOT=$CERN/$CERN_LEVEL |
setenv CERN /cern setenv CERN_LEVEL pro setenv CERN_ROOT $CERN/$CERN_LEVEL |
Miscellaneous |
EDITOR="nano -w" VISUAL=$EDITOR PAGER=less OS=Linux ENVIRONMENT |
setenv EDITOR "nano -w" setenv VISUAL "$EDITOR" setenv PAGER less setenv OS Linux ENVIRONMENT |
What aliases have disappeared?
Alias name | Bourne-shell family | C-shell family |
h |
alias h="history" |
alias h history |
lf |
alias lf="/bin/ls -CF " |
alias lf "/bin/ls -CF " |
What about the shell prompt?
For tcsh users:set prompt='%S[%m]%s %~ %#
What about the Oracle environment?
Users who used to rely on the $HOME/.hepix/oracle file to set up Oracle-related variables can set them in the following way:
Bourne-shell family | C-shell family |
ORACLE_CERN=/afs/cern.ch/project/oracle export ORACLE_CERN source $ORACLE_CERN/script/profile_oracle.sh |
setenv ORACLE_CERN /afs/cern.ch/project/oracle source $ORACLE_CERN/script/cshrc_oracle.csh |