Skip to content

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?

CERNLIB

Bourne-shell family:

CERN=/cern
CERN_LEVEL=pro
CERN_ROOT=$CERN/$CERN_LEVEL

C-shell family:

setenv CERN /cern
setenv CERN_LEVEL pro
setenv CERN_ROOT $CERN/$CERN_LEVEL

Miscellaneous

Bourne-shell family:

EDITOR="nano -w"
VISUAL=$EDITOR
PAGER=less
OS=Linux
ENVIRONMENT

C-shell family:

setenv EDITOR "nano -w"
setenv VISUAL "$EDITOR"
setenv PAGER less
setenv OS Linux
ENVIRONMENT

What aliases have disappeared?

h

Bourne-shell family:

alias h="history"

C-shell family:

alias h history

lf

Bourne-shell family:

alias lf="/bin/ls -CF "

C-shell family:

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:

ORACLE_CERN=/afs/cern.ch/project/oracle
export ORACLE_CERN
source $ORACLE_CERN/script/profile_oracle.sh

C-shell family:

setenv ORACLE_CERN /afs/cern.ch/project/oracle
source $ORACLE_CERN/script/cshrc_oracle.csh

What about the HEPiX scripts on SLC5?

There are currently no plans to simplify the HEPiX scripts for SLC5.

Feedback

Please send feedback and comments on this document to Linux Support.