Tag Archives: Shortcuts

Call A Bash Script From Anywhere Mac OSX Terminal

Mac OS X (10.6.8) From terminal, we can execute a bash script easily. 1$ /Users/jason/Sites/scripts/myscript.sh That works fine, obviously, but it would be soooo cool if we could just call myscript from any location or folder. From terminal, we do the following. Switch to the current user’s root. 1$ cd ~/ Add the script path […]