Daily Crumbs

January 13th, 2009

Adding new path to $PATH

Posted by Administrator in Observations | Edit

sudo vi ~/.profile

(in .profile)
export PATH=/usr/local/bin:/usr/local/mysql/bin:[new path]:$PATH

$ echo ‘export PATH=/usr/local/bin:/usr/local/mysql/bin:[newpath]:$PATH’ >> ~/.bash_profile
$ . ~/.profile (to reload file)

Comments are closed.

Sorry, the comment form is closed at this time.

RIGHTSIDE