PATH=$PATH:/data/myscripts
export PATH
1. One User ($HOME/.bash_profile)
2. All users except root /etc/profile
3. root /root/.bash_profile
FOR JAVA:
$JAVA_HOME=/usr/java/jdk1.6.0_13 (java location)
$PATH=/usr/java/jdk1.6.0_13/bin (for javac and java)
No comments:
Post a Comment