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.

learn more… | top users | synonyms

33
votes
6answers
18k views

How to set PATH for Finder-launched applications

Apps launched via Finder seem to not respect the PATH as set in .bash_profile. So when I try to run code from an IDE (Intellij) I no longer have access to programs in /usr/local/bin, which is ...
0
votes
0answers
12 views

Determine an Automator-based OS X service's own filesystem location

I'm trying to find the running Automator-based service's own filesystem location from inside that service. (Background: I'm trying to create duplicates of the same service and want each duplicate to ...
0
votes
0answers
17 views

How to undo a $PATH variable change? [duplicate]

Is it possible to undo a change to the $PATH variable on OS X Yosemite? I was trying to add to the $PATH and accidentally changed the entire thing to one path. I just need to know if I can undo this ...
0
votes
1answer
21 views

How do I get the location of a locked file in Preview?

I used to be able to Right-click or Command-click the name of the file in the title bar and see the path, whether the file was locked or not. Now when I open an attachment from Outlook (yes, I know ...
3
votes
1answer
32 views

Permanently saving changes to $PATH [duplicate]

I have ruby and homebrew running for a while and I'm starting to play with Bash. I have encountered a problem with my PATH variable as echo'd: ...
-1
votes
1answer
26 views

Using variables in pathnames and pathname variable help plus finding username applescript?

So, I want to have my script to be able to find out the current user's username and store it in a variable (myUsername). Then, it will go to /Users/myUsername/Desktop/FV.app. How can I do this and ...
0
votes
1answer
100 views

OS X 10.10.4 Yosemite, has the default PATH changed?

Today I had to configure a new macbook, running 10.10.3 out of the box and immediately upgraded to 10.10.4. After installing homebrew I went to configure the default PATH, and opened /etc/paths. I ...
1
vote
1answer
17k views

Where are my all installed programs?

I am new to Mac OS X and till the time I was using Windows 7/8. I tried to download and install programs in Mac OS X, but I do not see them in Launchpad. Where are all my programs are going. ...
1
vote
3answers
44 views

Problem: How to clear all remnants of random.py, random.pyc, and random.pyo that isn't part of Python's standard library?

I wrote an import random code, and unfortunately saved it as the module's name I was trying to call. eg. random.py I believe, but am not sure, that I created the random.py file twice and thus I ...
1
vote
1answer
27 views

Is it possible to restore PATH? [duplicate]

So I accidentally run in terminal command export PATH="/usr/bin/php/bin" which override my defaults and none of the commands aren't responding. MacBook-Pro-Kil:home $ sudo -bash: sudo: command not ...
14
votes
3answers
18k views

In OSX Yosemite, why can I set many environment variables for GUI apps, but cannot set the specific variable PATH

After I had sorted out OSX' PATH issues up to the Mavericks release, the problems come back in Yosemite!!! So I want to mimic the old launch.conf feature in the new Mac OSX 10.10 Yosemite release, ...
0
votes
3answers
80 views

I broke PATH in terminal and I can not restore it

in .bash_profile I accidentally set the path to: PATH="~/Tools/apache-maven-3.3.3/bin" and now the default path is gone. Nothing in Terminal works anymore: Korays-MacBook-Pro:~ koraytugay$ ls ...
0
votes
1answer
60 views

How do you get a clickable path to a file or folder?

I already saw a lot of questions and answers about how to copy the path of a file or folder using Automator. I personally like to use the copy option under the action menu on top of your finder ...
-1
votes
1answer
156 views

Export PATH directly from command line in Yosemite--where is my PATH?

I want to use the latest version of git which I installed via Homebrew, so I needed to change my PATH variable to ensure OS X uses the Homebrew version instead of the outdated version that ships with ...
0
votes
1answer
48 views

bash- command not fount error

I tried to install omnet++ on my Macbook pro (OS 10.10) yesterday. I got an error so I delete path in my bash-profile. Now, every command I try to run in my terminal shows an error of command not ...
60
votes
2answers
24k views

Open Finder window from current Terminal location?

If I am in a specific path in a Terminal window, how can I open that same window in a new Finder window? Note: This is the opposite of opening a Terminal from Finder.
9
votes
3answers
12k views

Reset your PATH variable

I stuffed up (basically wiped) my PATH variable. Is there any way to reset it to the default? I look at How do I reset the $PATH variable on Mac OS X?, but I find it very confusing. As far as I ...
8
votes
1answer
21k views

Mac OS X Mavericks - add to path

I'm trying to set up a phonegap project and while trying to add a platform it outputs the following error: Error: The command "android" failed. Make sure you have the latest Android SDK installed, ...
1
vote
1answer
77 views

Why don't I see a path to etags in PATH when running Emacs from http://emacsformacosx.com/ from the OS X dock?

This is a follow-up question to the one at "Is /usr/bin/etags severely out of date in Yosemite?" The Emacs in question is from http://emacsformacosx.com/ (GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, ...
1
vote
1answer
17 views

In which file Terminal.app stores its windows?

Usually after reboot/crash all Terminal windows are re-open automatically, this time they weren't. Where (which folder/file) Terminal.app stores the session/information about its windows which ...
6
votes
3answers
14k views

How can I add a path to the PATH environment variable?

I want to add a path to the PATH environment variable? I have tried with export PATH=/mypath:$PATH and it works. But the next time I start the Terminal, my new path is not int the PATH environment ...
0
votes
0answers
64 views

What's the path for Jitsi config files?

As near as I can tell, Jitsi is able to dial out and make a phone call using babytel: 17:35:39.320 INFO: [881] impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall().184 Creating ...
0
votes
1answer
85 views

where is the jitsi log?

On Linux, I can "tail" the jitsi log: thufir@tleilax:~$ thufir@tleilax:~$ tail .jitsi/log/jitsi0.log.0 00:08:08.579 WARNING: [59] service.resources.AbstractResourcesService.getSettingsInt().596 ...
2
votes
2answers
2k views

How to use /etc/paths.d to add executable files to my path?

I am trying to use /etc/paths.d to add an executable to my path variable but I have no success so far. The full path of the executable file is: /opt/ImageMagick/bin/convert /etc/paths.d contains two ...
0
votes
3answers
86 views

How do I change the path that is being searched for launching an application?

I am trying to launch the D programming language compiler DMD, but the terminal is giving the following error: dmd: failed to launch executable at /Library/Compilers/dmd2/osx/bin/dmd But there's ...
0
votes
1answer
125 views

Can I generate a clickable link to local file using relative path like “file:///~”

This is the background: in my company, we use Google Drive and often have to tell each other the path to a particular file. Paths are long as we use a lot of nested folders, so it's pretty boring and ...
1
vote
1answer
247 views

May I remove Python.framework in $PATH enviroment variable?

I recently upgraded Python (via downloaded .dmg files). Before, my $PATH looked like this: /usr/local/bin /usr/bin /bin /usr/sbin /sbin Now when I run the command: $ echo $PATH | tr ':' '\n' ...
1
vote
2answers
164 views

User's home folder path displaying problem

Let's say the name of my current account is johndoe. Open Finder Preferences, and set "New Finder window show" to johndoe, and add it to sidebar. Then each time opening up Finder after a reboot or ...
0
votes
4answers
104 views

Strange path environment

Is it normal to have all this stuff in my path environment? ...
0
votes
1answer
155 views

Can't run Python script from anywhere, even after PATH variable was edited?

I was trying to set up my Mac to run custom Python scripts from anywhere without having to type python [script.py] or the explicit file path. The script is called "testscript". I put the script in ...
6
votes
4answers
832 views

Newly Installed App (gem) Via Terminal, Path?

I have used sudo gem install to install a few gems. My question is how do I know where the executable was installed, so I can add it to the path in .bash_profile?
5
votes
4answers
479 views

How to deal with whitespaces in OS X along filepaths when certain UNIX programs dislike it

I am trying to include a command in a TeX file to a bibliography file that I am storing centrally. However, when including the filepath, like /Foldername with whitespace/ANOTHER folder name with ...
2
votes
1answer
129 views

How to get file path of user selected .icns file in applescript?

I'm writing an applescript in which I need the POSIX path to an .icns file that the user selects. For some reason though, it refuses to accept .icns as a valid file type. This will work: set Icon to ...
4
votes
1answer
2k views

Need help with update to latest Git using Terminal

I was trying to update to the latest Git version in my Terminal. I've no clue what I did and all I remember was that I removed the previous installed Git I think because when i run the following ...
1
vote
1answer
56 views

How to configure $PATH (for LaTeX) and run commands in Terminal?

After consulting the programming section of StackExchange, I have been referred to apple.stackexchange instead. I am using the following template: ...
0
votes
1answer
68 views

Secure delete an erased file using same file

Okay, so I have a late 2013 model retina macbook pro. A couple a days ago i placed a sensitive file on the desktop, and later deleted it by emptying the trashcan. I then read that was not the way to ...
2
votes
1answer
156 views

Is there any way to get a path to a file in the GUI in Yosemite?

In Mavericks it was simple: click "Get Info" on any file and you could copy/paste the file path. This is no longer included in Yosemite. I need to need to copy/paste paths frequently, like ...
0
votes
0answers
16 views

Add a path to the system PATH [duplicate]

Please help me figure out how to set a system wide PATH..... I have upgraded svn to version 1.8.10 on osx 10.9 One of the required steps was adding the address of the current svn to the PATH. ...
0
votes
2answers
552 views

Applescript: path to files in application's Resources

I'm new to applescript and coding. I'm trying to make a little Applescript application that plays an audiofile contained in the .app, using: do shell script "afplay " & quoted form of ...
0
votes
0answers
33 views

How do I accomplish the same task of a Bash script with an Apple script?

The following BASH script was written for a self-contained bundle, I would like to write an Apple script to accomplish the same thing, also in a self-contained bundle. How can I convert this BASH ...
0
votes
1answer
37 views

Path to my background images on IOS8 iphone or How to recover my background's images from my iphone

I made a great picture and place it as background at my iphone , now i cannot find it anymore at my camera roll. I need this picture that is still as my backgroud image. Just give me route or a path ...
1
vote
1answer
474 views

Fixing a Messed Up $PATH in Yosimite

I had troubles installing node with Homebrew as Homebrew does something weird to the node install that installing Yeoman generators seems to be hindered a bit. My issue, however, is that I think ...
2
votes
1answer
86 views

Windows bootcamp file path on 2008 Intel iMac

My iMac hdd is starting to go and I am trying to recover files I had on the Windows OS through boot camp. I cant seem to find the path to get to my Windows directory. the only way I can get in the hdd ...
0
votes
1answer
178 views

Terminal commands not found:

Short explanation. After I've created .bash_profile file and added the line export PATH=/PATH/TO/YOUR/sbt/bin:$PATH into it, my terminal stopped working properly. Could you please help me to fix the ...
6
votes
5answers
22k views

OS X Mavericks bash_profile paths don't work

I need to create a new path in OS X Mavericks. To do so, I edited .bash_profile: export LC_ALL="en_US.UTF-8" export PGHOST=localhost export PATH=$PATH:/usr/local/heroku/bin export ...
1
vote
2answers
33 views

Yet another path question

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 ...
0
votes
0answers
170 views

Bash shell doesn't inherit $PATH set in /etc/launchd.conf

I am new mac OS X user and recently I am setting up my laptop as a work environment. That concerns environment variables setting in shell. After some search work I found several ways to set ...
3
votes
1answer
111 views

Adding TextWrangler to the path environment

I would like to add TextWrangler to the path environment. I have tried with this command on the terminal: alias textwrangler=/Applications/TextWrangler.app and then tried to call it just typing ...
1
vote
1answer
153 views

Path export is not working

I'm trying to create a phonegap app but when i run cordova platform add android, I get the error: Error: An error occured during creation of android sub-project. ...
0
votes
1answer
73 views

How to Access Shared Computer Through Terminal?

I have Mavericks on my Mac and wish to set up Unison between it and an old PC (vaiolaptop) running Windows XP on my network. How so I specify the path to the remote machine? It appears like so in ...