2774 Views 3 Replies Latest reply: Jan 26, 2011 6:38 AM by ruffyleaf
I'm having problems editing my $PATH variable.
I've created a ".profile" with this line
But when I launch Terminal again, I get this error:
-bash: export: `/my_path:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin': not a valid identifier
Is there something that I am missing? Or is there another easier way to edit my $PATH variable?
Also note, that bash will look for 1 of 3 initialization files
In that order, and will use the first one it finds and then stop looking. If you also have a .bashrc file, you would source that in your shell initialization file
By the way, Terminal, Unix, and command line command questions are best asked in the Mac OS X Technologies > Unix Forum