Questions tagged [path]

The concept that software will look in several folders, in the order stored as the path, to find which programs should be allowed to run.

Although the path variable is something that is set in the (or shell) portion of OS X due to it's UNIX heritage, the concept of a PATH is explicitly rejected by the Finder and the graphical user interface on the Mac.

Yes, the standard convention is to place programs in the /Applications folder for system apps and ~/Applications for user-specific apps, but the Finder will execute any program that is selected to open by double clicking the icon for the app or selecting it and choosing Open... from the finder File menu.

Note that path can also be used in the sense of the complete absolute directory and file name in the file system or URL

337 questions
4
votes
3 answers

How do I add a new route to the PATH variable?

Although this question is being answered many times, I could not find any help from previous posts, so here it is again. I have tried to add a new route to PATH variable with no success. I have added the following command: export…
3
votes
3 answers

Delete things from $PATH

I fiddled with my $PATH and now it's not working correctly anymore. So I thought, well, just remove the last things I added. However, I can't seem to figure out how. I added things like so export MAGICK_HOME="/Library/ImageMagick-6.7.5/" export…
albifant
  • 155
3
votes
2 answers

Path Variable Limit

Is there a character limit on how long your PATH variable can be on macOS? Or is there a limit in terms of the amount of binaries you can reference in your path?
Cody Rutscher
  • 193
  • 3
  • 14
2
votes
2 answers

Adding gedit to my PATH

I finally made the jump and got a MacBook, and I'm trying to move in. I have the OSX port of gedit installed, but I'm having trouble adding it to my PATH. My current PATH looks like this: export…
eckza
  • 971
1
vote
1 answer

How do I change my (non-interactive shell) PATH?

For example, when I launch Emacs from the terminal (an interactive shell), I can use "M-x shell". When I launch Emacs from the dock (which spawns process from some other shell), I cannot, because "grep isn't found" (or 'ls' or 'some other universal…
1
vote
1 answer

How to permanently add the path to the terminal?

I created a Ruby file called Player.rb in the following path: Jwan/studio_game Jwan is my name so I think Jwan is my user file. How do I permanently add the path to the terminal so I don't have to type in pwd and cd commands everytime I open the…
Jwan622
  • 147
0
votes
0 answers

PATH entry deletes itself after restart?

Every time I want to start docker, I have to run PATH=$HOME/.docker/bin:$PATH. Then, until restart docker command will work via terminal. After restart, I have to manually add it to $PATH again. Anyone encountered this and knows a solution?
0
votes
1 answer

Access path of open file

I have a file open in, say, a pdf viewer (or some other application). I want to get the path of the open file as text. A simple approach to know the files location is to chose "Save As" - the dialogue comes up with the files current location…
drevicko
  • 261
0
votes
4 answers

Strange path environment

Is it normal to have all this stuff in my path…
user90775
0
votes
0 answers

path when I hit double tab

I am almost a newbie to command prompt control in Mac. Yesterday, when I open terminal and hit command prompt twice. I have a very neat result showing a few truly useful stuffs... But after I instal Pycharm today and maybe the path variable has been…
user40780
  • 111