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
33 views

Installing Casper; a program that needs to be placed in a directory on my PATH

I need to install software but I don't understand how to do so. I have downloaded a file which contains 5 files which includes a Unix Executable file which when I open displays this: Last login: Tue ...
0
votes
1answer
47 views

How to reset the $PATH in terminal OS X El Capitan? tried previous posts but did not work [duplicate]

I accidentally messed up my $PATH. I Tried to follow the instructions from the previous similar questions but I keep having the same problem When I type: echo$ PATH, I get the following response: /...
0
votes
0answers
17 views

Where are my Photo-booth videos saved?

By default, photo-booth save videos at /Users/UserName/Pictures/Photo\ Booth\ Library Following the recommendations at [How to change default path for photo booth?], I moved this directory to an ...
1
vote
1answer
35 views

How to change default path for photo booth?

By default, photo booth save videos in /Users/UserName/Pictures/Photo\ Booth\ Library Is there a way to change this default path? I am on OSX 10.11.5
1
vote
2answers
155 views

Set PATH variable so that it is detected in all applications, even outside terminal. (El Captain)

My ~/etc/path looks as follows: /usr/local/bin /usr/bin /bin /usr/sbin /sbin The Problem: When I type echo $PATH into terminal, I get back: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin And ...
0
votes
0answers
19 views

gnuplot version update

I have installed gnuplot several years ago on my Mac but can't remember how or where. Now I installed the new version (5.0) using brew but when I start gnuplot it still starts the old version (4.6). ...
90
votes
4answers
39k 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
votes
1answer
55 views

Refreshing env variables by sourcing not working

I installed torch in my MacBook Pro (running El Capitan). Now for using torch, I've to refresh env variables. Official torch document asks me to run source ~/.profile. But the terminal is showing No ...
3
votes
1answer
65k 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. Secondly,...
9
votes
1answer
18k views

How to remove an environment variable on OSX using bash

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 DYLD_LIBRARY_PATH=/Library/...
8
votes
1answer
98 views

checking path capitalization of pwd

Is there a quick way to check in terminal that the terminal command pwd returns the correct capitalization of the path? Note that if you do cd ~/desktop then pwd would tell you that your path is /...
2
votes
0answers
253 views

Where are Anaconda's libraries for PYTHONPATH?

I installed Anaconda's graphical installer successfully. I configured it to Python 3.5 by conda create -n py35 python=3.5 source activate py35 % to deactive source deactivate conda install notebook ...
0
votes
1answer
35 views

Finding file in parent folder of an AppleScript

I have an AppleScript that calls another script (a perl script in this case) which resides in the same folder as the AppleScript. Now I'm trying to put the script into a variable like this: tell ...
-1
votes
1answer
45 views

Why OSX symlink cannot Relative PATHs?

System in OS X 10.11.4 El Capitan $ cd $HOME $ ls . > Dropbox > BTsync Code which creates unsuccessful symlink ln -s BTsync/ Dropbox/ Code which creates working symlink ln -s /Users/masi/...
10
votes
4answers
1k views

How do I change the location of screen captures?

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

$PATH change won't persist [duplicate]

I looked at my $PATH and noticed that it starts with: /Applications/anaconda/bin: This doesn't seem right to me and I am not sure how it got there, so I tried to reset $PATH in terminal using: ...
1
vote
0answers
42 views

How do items in the 'Applications' folder get on the path?

How does the 'Applications' folder get on the path? For example, I installed Chrome browser into the Applications folder on my Mac and I can type chrome at a bash shell prompt to start it. Now, if I ...
0
votes
2answers
14 views

Did I mess up my .profile file?

I was trying to update my system path, followed some directions online and accidentally types: touch ~/.profile Did I overwrite my .profile file? Does this mean that I have destroyed all of my PATH ...
0
votes
3answers
60 views

OS X: common paths for executable files

I have some executable files in OS X which I want to access from terminal from any area. For example in Linux, we can copy executables or binaries to /usr/local/bin or /usr/bin. So similar to that ...
0
votes
1answer
23 views

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

default application to open folders with

Back in the days I used to run Path Finder for a while, but then removed it from the system and went back to regular finder. Now when entering i.e. open Desktop/ in the terminal, it opens up Finder ...
1
vote
1answer
37 views

Setting up execution path in Terminal

I have no experience with using Terminal but I am trying to install a program msbayes (installation instructions here. The instructions say to set up an execution path using either $ echo 'export ...
0
votes
1answer
36 views

How do I add the Applications folder to the terminal PATH?

For example, I have Sublime Text that I can open from Spotlight. However, sometimes I'm navigating with the terminal and I want to do sublime source.php, but since I don't have the sublime app ...
1
vote
2answers
208 views

set PATH in terminal OS X 10.11.3

I need to set path /usr/local/gnupg-2.1/bin to the command line. I tried to enter "export PATH=/usr/local/gnupg-2.1/bin:$PATH" in the command line, but it works until the terminal session ends. I ...
0
votes
1answer
1k 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 ...
0
votes
1answer
48 views

Path not being honored?

I have the following in my .bash_profile: $ cat ~/.bash_profile # Prompt export PS1="\h:\W$ " # Standard path export PATH="/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin: /opt/local/...
1
vote
1answer
131 views

Temporary Folder Path for Apple Script

set targetFile to (path to temporary items as string) & fileName I am trying to download a web image to temporary folder by curl in a Apple Script. According to the above code, the curl ...
1
vote
1answer
339 views

Get AppleScript Path of Parent Folder

I am writing an AppleScript that will be run from a USB drive, but the dive name may change often so I need to figure out how to get the directory path of the parent folder that contains the script. ...
2
votes
1answer
297 views

How to open path in Double Commander from Terminal

If I type open $(pwd) or open /anypath/ I will get the path opened in Finder. How I can achieve similar results but with the path opening in Double Commander instead?
1
vote
1answer
294 views

Trying to install Ant but getting -bash: brew: command not found

I have installed Homebrew using the code ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" it returns this inside the Terminal window ==> This script ...
0
votes
0answers
143 views

How Do I Merge Apple Mail 'On My Mac' Folders or Flatten The Directory Structure?

I have a dozen or so separate email "archives" from a variety of different clients and many different email addresses dating back to about 1996. I have managed to get all the files in mbox format, ...
0
votes
2answers
87 views

How do I make my Mac use .bash_profile to add extra paths after I statically set $PATH?

I, like an idiot, decided to export PATH=/usr/local/sbin/. After some googling I was informed that one should use a .bash_profile file in the root directory of your user which you can use to append ...
0
votes
0answers
103 views

Getting real smb- / afp based network file path of opened files or folders

is there any opportunity to copy or read out the real network path of a file that you are displaying through the finder on a network share? examples.: smb://network-share.mydomain/DirTop/DirSec/Dir ...
0
votes
1answer
34 views

Adding a compiled application to $PATH. Understanding the problem

I'm trying to understand the whole $PATH problem but I've got no luck so far. Suppose that I've just compiled an executable with make and I need to launch it with the shell without using the full path....
0
votes
0answers
56 views

launchctl does not set environment variables correctly

I am trying to use launchctl to set the environment variables for Eclipse. What I want to do is pass my PATH to eclipse. I have tried to setup launchctl to do this. Here is the the output of launchctl:...
0
votes
2answers
1k views

How can I reset $PATH in OSX?

When I run: echo $PATH I get this: /usr/local/bin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/bin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/3....
4
votes
0answers
4k views

Setting system-wide environment variables in El Capitan [closed]

I was using the method described in this post to invoke "launchctl setenv" to set environment variables globally. I have just upgraded to OS X 10.11 "El Capitan," and now I see that the launchctl ...
2
votes
2answers
349 views

What is the Default content in /private/etc/paths?

I have edited /private/etc/paths to allow access for Homebrew: /usr/local/bin /usr/bin /bin /usr/sbin /sbin I want to restore this file to the system Defaults. What are the default lines and ...
3
votes
3answers
4k views

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 ...
1
vote
0answers
79 views

Copying a path of the app to a new directory?

I was wondering if someone could help me make an AppleScript that copies the app the script is into another location. So, this is what I tried... (Please don't say anything since I am new at ...
0
votes
1answer
468 views

OS X El Capitan & Android Studio 1.4

Has anyone else noticed the following with Android Studio 1.4 running on OS X El Capitan? I can't remember the exact point when I lost the ability to build an Android app from the IDE due to the fact ...
47
votes
7answers
27k 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 ...
2
votes
1answer
48 views

TexMaker, permanent changing of the path

I just update my MacBook with the last OS, El Capitan. I follow all the suggestions (link-1 and link-2) in order to make TexMaker work in a proper way, but when I relaunch the application all the ...
1
vote
1answer
403 views

Converting between a Mac file path to a Windows file path

I am working in an office that is dominated by PCs, but we are moving select designers to a Mac platform (testing). The biggest issue I have come across is sharing file paths to shared drives, and the ...
1
vote
2answers
75 views

Copy a file's NSURL to clipboard

I am trying to do a rather simple thing: in the context menu I want to have an action (e.g. with Automator) that gets and copies the file's NSURL to clipboard. The solution seems simple, but it does ...
0
votes
0answers
44 views

What is mysteriously changing my $PATH and inserting @ symbols, and what do they mean?

So I do echo $PATH and my path is /Users/fintan/.rvm/gems/ruby-2.2.2/bin:/Users/fintan/.rvm/gems/ruby-2.2.2@global/bin:/Users/fintan/.rvm/rubies/ruby-2.2.2/bin:/usr/local/heroku/bin:/opt/local/...
2
votes
0answers
17 views

bash: ping: command not found [duplicate]

My shell can't find ping. $ ping -bash: ping: command not found $ uname -r 14.5.0 $ echo $PATH /usr/local/bin:/usr/bin:/bin:/Users/alex/.cabal/bin $ which ping $ However, man ping works and ...
1
vote
0answers
68 views

Adding a directory to $PATH doesn't work in Yosemite

I've tried to do it both ways: 1. I edited ~/.bash_profile like so: $ cat ~/.bash_profile export PATH="${PATH};~/bin" $ $ ls -l ~/.bash_profile -rw-r--r-- 1 myuser staff 202 Oct 1 16:57 /Users/...
8
votes
3answers
6k 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 ...
0
votes
1answer
159 views

How do you specify Firefox 'open file' location?

Firefox documentation specifies that when you click a link to download a file and select 'open', that it downloads it to a temp folder. While this is true on a Windows system, it is not in Yosemite. ...