$path variable ?
Question , if i create a /bin directory in /home/mine and put some shell scripts in it will they be picked up by the $PATH variables or are the $PATH variables only interested in searching the /dir .
The reason is that i'm creating small scripts and i would like them to run directory wide in my home dir , and try to keep them separate from root/bin.
You'll need to add it to your .bash_profile file
in your home directory. Then log out and back in.
The n run the env command to see if it is now in your PATH.
you can find out what directories are in your PATH by typing:
hope this helps.
Well since i canny find .bash_profile , i can find .bashrc & .bash_history .
based on the above i think placing the script in an already existing PATH
is the best bet .
Thank's for the Quick responce
|All times are GMT -5. The time now is 07:21 PM.|