Search

I'll be at


I support





Subscribe

Recent entries

Archives by subject

Archives by date

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
5
Sep

Adding the PATH variable on Mac OSX

This is another one of those blog entries where I want to blog for the sake of remembering tedious details...

The issue that I was facing was how to add a directory to the PATH environment variable on my Mac.

I wanted to add a path to MySQL install. So I'll use that example. The following command in a Terminal window created my .bash_profile file. If the file already exists, it would have added to that file.

echo 'export PATH=/usr/local/mysql/bin:$PATH' >> ~/.bash_profile

The PATH information is stored in /Users/username/.bash_profile file.

Comments