Thanks,
Pramod
The ~/.bash_profile ($HOME/.bash_profile) or ~/.prfile file is executed when you login using console or remotely using ssh. Type the following command to edit ~/.bash_profile file, enter:
$ vi ~/.bash_proflle
Append the $PATH settings, enter:
export PATH=${PATH}:${HOME}/bin
Save and close the file.
Thanks,
Pramod
~$ cd ~
~$ ls .pro* .bash*
.bash_history .bash_logout .profile
Thanks,
Pramod
Thanks,
Pramod
pramod talekar wrote:
1. Few entries viz. maven & tomcat are repeated here. My PATH was already showing me maven entry , so how to remove the repeated entry here.
pramod talekar wrote:
2. If I write echo $M2_HOME$ or echo $CATALINA_HOME$ on Terminal, it doesn't show anything, so how to create other environment variables permanently here.
Thanks,
Pramod
Thanks,
Pramod
Hold that thought. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|