Thursday, June 19, 2014

Linux Fedora - Editing PATH and other variables at .bash_profile


$ vi ~/.bash_profile

[javauser@thanatos ~]$ cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

# Added by Eider - June, 19 2014
PATH=$PATH:/opt/lampp/bin:$HOME/bin
export PATH
export JAVA_HOME=$JAVA_HOME:$HOME/classes

alias h='history'

[javauser@thanatos ~]$

No comments:

Post a Comment

About Me

My photo
Leitor Compulsivo e Apaixonado