Update .bash_profile to display user and path of the Home and Environmental Variable

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.

export PATH

if [ -s "$MAIL" ]           # This is at Shell startup.  In normal
then echo "$MAILMSG"        # operation, the Shell checks
fi                          # periodically.

export PS1="$USER-`uname -n`:\$PWD>"

export umask=022
export TERM=ansi
export ORACLE_TERM=hft
export ORACLE_HOME=$HOME
export ORACLE_BASE=/home/data/u01
export TNS_ADMIN=$ORACLE_HOME/network/admin
export PATH=$ORACLE_HOME/bin:$PATH

if [ "$DISPLAY" = "" ]
then
whoFlags="-m"
case "$( uname -s )" in
HP-UX) display="$(who -mR | sed 's/^.*(//' | sed 's/).*$//')" ;;
AIX) display="$(who -m | sed 's/^.*(//' | sed 's/).*$//')" ;;
SunOS) display="$(who -m | sed 's/^.*(//' | sed 's/).*$//')" ;;
IRIX*) display="$REMOTEHOST" ;;
Linux) display="$(who -m | sed 's/^.*(//' | sed 's/).*$//')" ;;
esac
if [ "$display" != "" -a "$display" != ":0.0" ]
then
export DISPLAY="$display:0.0"
echo
echo "DISPLAY set to $DISPLAY"
echo
fi
if [ "$display" = ":0.0" ]; then export DISPLAY=":0.0"; fi
fi

user=$USER
ps -fu $user