I have several utility programs that I need to run. What I am doing write now is going to the bin directory of thee apps and running .\program.sh to run them. Obviously not practical to run it everywhere this way. Putting the bin directory on my path would still not allow these scripts to be executed anywhere would it? So how should a .sh file be run from another directory?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
Open the Terminal and edit the You can add:
Now run
to update your terminal, then try:
If you see your script, all should be good! |
|||||||||||||
|
PATHenvironment variable. – Oliver Salzburg♦ May 10 '12 at 23:50