Hi I am trying to make my scripts to run from any directory and after some research (googling) I find there are 2 ways to do this
-
export PATH=$PATH:directory
-
create a /bin directory in your home directory and put your scripts there.
Could someone tell me the relative merits of either method or is it only a personal preference?
Thanks