Friday, 23 August 2013

OS X - Create a personal bin directory (~/bin)

OS X - Create a personal bin directory (~/bin)

So, what I am trying to do is to create a personal bin directory at my
home folder. I created the following folder:
/Users/thi/bin
I put my scripts in this folder, but if I type in the Terminal:
myScript
It doesn't run.
I was told I have to export this bin path, something related to echo
$PATH, but I don't know how to do it.

No comments:

Post a Comment