-
Update the file "~/.profile" (or "~/.bash_profile") to export environment variables.
$ vi ~/.profile
# add the following entries to .profile
export JAVA_HOME="/opt/jdk1.6.0_33"
export PATH=$JAVA_HOME/bin:$PATH
-
Update the file "~/.profile" to add aliases.
$ vi ~/.profile
# add the following entry to .profile
alias list='ls -l'
-
Update the file "~/.profile" to execute user custom shell scripts.
$ vi ~/.profile
# add the following entries to .profile
source .uservariables
source .userfunctions
source .useralias