1
vote
1answer
13 views

env command shows 3 times same path

When i run env it shows 3 times /usr/bin under PATH . Same for every path under PATH title. For example - my scala bin directory shows 3 times . However, in my .bash_profile, it is written just one ...
0
votes
0answers
15 views

Mac file alias using username in path

I am trying to set up a Mac to access a user's folder on a server. The path might be //server/users/username. Is there a way to make an alias, mount a drive, or something similar for each different ...
1
vote
3answers
2k views

How to add a line to .bash_profile

I just installed Homebrew on bash on my Mac and now I need to do this: Once you’ve installed Homebrew, insert the Homebrew directory at the top of your PATH environment variable. You can do ...
1
vote
0answers
533 views

Mac OS X libraries path setup

In OSX, by default, (apple) libs and components live in /usr. Since I use MacPorts and compile my own modules, I have the following path setup: /usr -> default Apple /usr/local -> My own ...
2
votes
1answer
2k views

Messed up $PATH variable in Mac OS X

I did something to my PATH. I was trying to add some new path and now none of the command like open ~/.bash_profile work, and echo $PATH only shows one path which is /Application/Filename. Is ...
2
votes
2answers
538 views

How do I find out where paths in my $PATH were defined?

There are some paths in $PATH, which I don't want. I'm not sure how they got there; they aren't coming from my .profile. Is there a way to determine which scripts are modifying $PATH?
2
votes
2answers
2k views

$PATH issues with OSX Lion

I'm having some issues with running mysql from terminal: macmini:~ michael$ which mysql /Applications/XAMPP/xamppfiles/bin/mysql macmini:~ michael$ mysql -bash: /usr/local/mysql/bin/mysql: No such ...
2
votes
1answer
3k views

How to set environment variable in OS X Lion [duplicate]

Possible Duplicate: What are PATH and other environment variables, and how can I set or use them? I want to add a path variable to the directory ~/bin How should I do it in OS X Lion?
2
votes
2answers
315 views

Getting “export PATH” to stick

I just upgraded to Lion and I am using bash for the first time (my previous experience is with csh and tcsh). I have encountered unexpected behavior. A simple example is: I create a file ...
5
votes
1answer
3k views

export PATH= not holding in Bash OS X

This is somewhat of a noob question but I'm having problems adding to my path and can't remember how I got changes working the last time I did it. So I'm using the command "export ...
4
votes
4answers
8k views

Is it possible to set PATH on Mac OS X Lion without restarting?

Is there a way to set the PATH on /etc/paths without the need to reboot your Mac? I know I can do it using an alias but it's not permanent. For example, I want to set the PATH for MySQL.
6
votes
3answers
6k views

Mac OS X Lion: What are invalid characters for a file name?

I am having trouble finding this information, and trial and error is telling me that there may not be any. So I figured I ask the community to see if anyone knows and can point me to a apple page that ...