Add the required path in /etc/environment
update it using
source /etc/environment
Tag Archives: environmental variable
Setting up PATH for a executable script
You can add the executable files to the variable PATH as follows :
1. CSH Shell :
setenv PATH “$PATH:/location”
2. BASH Shell :
export PATH=”$PATH:/location”
3. SH or KSH Shell :
PATH=”$PATH:/location”
Ejoy !!! 🙂