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

0
votes
1answer
36 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 ...
0
votes
1answer
36 views

What is the complete, authoritative way in which Mac OSX 10.9 and later builds its PATH?

I have read just about every article on this subject. To wit, I know about: launchctl setenv /etc/launchd.conf /etc/paths /etc/paths.d/* /etc/profile /etc/bashrc ~/.profile ~/.bashrc ...
0
votes
2answers
36 views

How do I see the location path of an application?

I need to check the path to a program -- I want to point to the binary, not to the ".app" which is a directory. How do I do this?
6
votes
4answers
15k 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 ...
0
votes
1answer
47 views

I get errors when trying to install GTK+3 on my Mac OSX 10.9 system

I'm trying to install GTK+3 on my Mac OSX 10.9 system to run a pyGObject project I've been developing in Ubuntu. It runs perfectly on Ubuntu, so I wanted to test cross-platform compatibility. I'm ...
2
votes
2answers
393 views

Use downloaded Git instead of preinstalled Git

I am following the Lynda.com Git Essential Training. After he downloads and installs Git he enters which git and gets /usr/local/git/bin/git However when I do it I still get the preinstalled path ...
1
vote
0answers
39 views

Configure a separate root folder for Sites directory

I have re-written this entire post as I realized it originally did not make much sense (That would be a funny comment for a program). I'm developing a web project in localhost with a very organized ...
0
votes
0answers
22 views

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 ...
1
vote
1answer
68 views

How do I use the MacPorts version of nano as my default text editor?

I tried installing nano using "port install nano", but using the "nano" command doesn't open the macports version. $ which nano /opt/local/bin/nano $ /opt/local/bin/nano --version GNU nano version ...
2
votes
1answer
58 views

How -exactly- do I remove a specific directory, from my PATH, in OSX, Mavericks?

Ok - so this issue has become somewhat of a white whale for me. I have browsed some of the questions here, but I cannot seem to figure out how to, very simply, delete a directory from my PATH. (I ...
2
votes
2answers
50 views

AppleScript - Get the path to an application without opening it

I need to store the path to Chromium to use later in the script, however running set chromium to (POSIX path of (path to application "Chromium")) in AppleScript Editor opens the application. How can I ...
0
votes
1answer
36 views

Saving to a specific path with the save prompt

How do you save to specific paths with the save prompt WITHOUT navigating through the GUI? It's extremely annoying how I cannot just write paths into the save-as dialog box.
0
votes
1answer
30 views

Help on setting path right

I'm following these instructions to install CUDA on my Mac and need some help concerning path variables. I already installed the package but need to set up the required environment variables: export ...
1
vote
2answers
170 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 ...
1
vote
1answer
225 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. ...
5
votes
2answers
276 views

How are paths to files and folders constructed in OS X?

I need to indicate a right file path to read a .csv file into R on OS X, but how can I find where the file is stored? Looking at Excel files, the file path starts at users/…, but there is no ...
1
vote
3answers
1k views

How do I undo “export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile”

I was trying to install homebrew, which wasn't working. It told me to do echo export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile. However this wasn't having any affect, and I thought maybe it ...
0
votes
1answer
152 views

Making items added to paths via paths.d show up everywhere under Mavericks

I'd like to set the path under OS X Mavericks so that the setting shows up everywhere (e.g., in .apps and in Darwin shells). There's plenty of discussion out there about how to set environment ...
2
votes
2answers
180 views

make it easier to call often used terminal commands

I have a java tool that I use quite often from the command line but to use it I have to type java -jar dsim.jar. I want to make it so that I can call it just by typing dsim regardless of what ...
0
votes
1answer
35 views

Full path to python as reported by ps

When I run python from the shell I for example do python2.7 script. I later need to find this command again based on the ps aux output, however this output shows a full absolute path like this: ...
7
votes
2answers
7k 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 ...
5
votes
2answers
3k views

In Mountain Lion how do I set, in one place, the PATH environment variable for all newly launched applications?

On Ask Different there are many questions regarding the PATH environment variable and how to set it for applications launched by a shell, by spotlight or via the finder (typical questions: How to set ...
1
vote
1answer
93 views

Why does my path not get saved even after editing ~/.bashrc? [duplicate]

I've added maven to my path, but it doesn't seem to be persisting to the path beyond the lifetime of the terminal application. I've modified my ~/.bashrc, but it still isn't storing the modified ...
0
votes
3answers
780 views

Can homebrew and RVM agree on a $PATH?

I'm trying to install Yeoman.io and part of it requires Homebrew to be installed. I am on Mountain Lion (10.8) and things seemed to install correctly except when I run $ homebrew doctor it complains ...
0
votes
1answer
79 views

How is $PATH created?

I am still relatively new to the workings of the Mac OS but have extensive knowledge of Linux. I updated my php on Mavericks using the php_osx and the instructions stated to use export ...
2
votes
2answers
105 views

How do I change $PATH and set it to the default directory?

For some reason when I run echo $PATHI get the following directory: /Users/<home>/Library/Applications/. How do I set it back to its default location so that I don't have to run this command, ...
4
votes
1answer
6k 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, ...
0
votes
2answers
171 views

Upgrade RVM and now PATH is broken

My PATH no longer includes /usr/local/bin even though it is the first line of /etc/paths: #/etc/paths /usr/local/bin /usr/bin /bin /usr/sbin /sbin $PATH: $ echo $PATH ...
0
votes
0answers
106 views

Excel VBA: correct path to shared folder on networked Macs?

Does anyone know the correct syntax for a hardcoded path to access a backup folder on a locally networked Mac? The original path to access the folder on the same machine is Mackintosh ...
3
votes
2answers
120 views

How to recursively edit path of symlinks?

This is an additional question that began with this one - How to edit Symbolic Links in OS X? Now that I know how to edit the path symlinks point to, I'm trying to figure out how to do this ...
1
vote
2answers
109 views

Escaped path in AppleScript adds leading /

I have the following AppleScript that I am trying to debug: tell application "System Events" set theResult to (do shell script "sqlite3 ~/Library/Application\\ Support/Dock/desktoppicture.db ...
7
votes
4answers
732 views

How do I change the location of screen captures on 10.5?

As a developer, I take a lot of screen captures. I often take a lot to share with StackExchange members on chat. The problem is my desktop is so cluttered with screen captures that they're now ...
3
votes
2answers
287 views

Removing the builtin command-line utilities from PATH, zsh

Okay, so I'm a Linux power user, that is I feel most at home when I have access to the command-line, and I'm very much used to using GNU coreutils, so now that I've installed GNU coreutils on Mac OS X ...
1
vote
0answers
78 views

Reset Aperture Import Locations (paths for referenced masters)?

I run Aperture 3.5 (latest at the time of writing this) and I use referenced masters. Over the time I've changed my directories now and then and all my files are now neatly stored on one drive in one ...
1
vote
1answer
75 views

File path error in Applescript/TextExpander

I use the following code to open my dropbox folder quickly using textexpander. tell application "Finder" activate set f to POSIX file "/Users/MrT/Dropbox" open f end tell Which works, ...
0
votes
0answers
71 views

Config file path for mapping file on Windows Server to mac application

Here is the provided example: (config) (documentsPath)C:\Documents And Settings\Administrator\Desktop(/documentsPath) (/config) Here are my attempts: (config) ...
3
votes
1answer
82 views

Exporting the filepath of all music files to a text file

I'd love to know the syntax within Terminal to export the filename and path of all my music of various types (I have legacy Windows .wma files too). I'd presumably export those file to a .txt or .xls ...
15
votes
2answers
10k views

Amending PATH so that /usr/local/bin is ahead of /usr/bin

I'm trying to install brew but get the following warning: Warning: /usr/bin occurs before /usr/local/bin This means that system-provided programs will be used instead of those provided by Homebrew. ...
23
votes
1answer
11k 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.
1
vote
1answer
29 views

How to bend a path in Keynotes?

I can not find the 'curved path button' in the Build Inspector which allows me to curve a path. Can anyone tell me where to find it?
0
votes
1answer
99 views

changed user path and lost aliases in .bash_profile

I reinstalled mountain lion recently and had to reset my git path. Everything was working fine until I realised I had to do it for every project so I tried to change the default system path by sudo ...
20
votes
5answers
10k 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 ...
4
votes
2answers
362 views

How to make an executable .py available everywhere on OS X?

I have this directory /foo/bar/. Inside, I have a python file named myfile.py. I made it executable by adding (at the top): #!/usr/bin/env python Then, I made it executable by issuing chmod +x ...
1
vote
1answer
467 views

Many programs notify me that “grep/sed/uname/… not found”; some run, some don't. My system(?) path is damaged, how do I go about a diagnosing it?

Some manifestations of this problem: macports won't install, MATLAB won't run, BTT works but incessantly spams me with " not found" popups, and emacs shell does not work. My interactive shell PATH is ...
1
vote
1answer
2k views

How to remove an environment variable on Snow Leopard

I'm running under Snow Leopard 10.6.8 and I recently added an environment variable which it seems to be messing my bash terminal (I guess). What I did is add the variable ...
1
vote
2answers
357 views

brew path didn't cover sbin

I have problem when I used brew to install aircrack-ng. I found out that it cover path /usr/local/Cellar/aircrack-ng/1.1/bin but it couldn't find commands after I tried tab-completion in path ...
0
votes
4answers
123 views

PATH not being changed for root user

I have added .bash_profile, .bashrc, .profile exeuctables in the /var/root dir. However, unlike the normal users which execute their .bash_profile(s) and change the path. There is no difference in ...
0
votes
0answers
127 views

Editing $PATH variable for apache on mountain lion

I've just installed ImageMagick using macports and am trying to use it from a php site running on Apache, but nothing I do works to add /opt/local/bin:/opt/local/sbin to my path. So far I've tried ...
2
votes
2answers
474 views

Change Web Sharing “Sites” folder to SkyDrive?

I'm building a web site. There are three Macs that I commonly use for development, depending upon my location: an iMac in San Diego, and iMac in Vegas, and a MacBook Air in all other places. As I move ...
3
votes
2answers
1k views

I want to remove an entry in my $PATH

I'm running OS 10.8. When I echo $PATH my terminal outputs ...