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
31 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
0answers
16 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 ...
0
votes
1answer
46 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: /...
1
vote
1answer
34 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
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). ...
-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 ...
1
vote
2answers
153 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 ...
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
249 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
32 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/...
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
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 ...
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
56 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 ...
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 ...
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 ...
1
vote
2answers
206 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
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
129 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
329 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
291 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
285 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
141 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
85 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
101 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
346 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 ...
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 ...
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
394 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
73 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
67 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/...
0
votes
1answer
157 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. ...
0
votes
2answers
1k views

Adding Gradle to PATH

I am trying to add Gradle to my PATH. I have used the command export PATH=/myUsername/Applications/gradle-2.6/bin:$PATH but when I type gradle I get an error "command not found." So I went to ...
0
votes
0answers
18 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 ...
3
votes
1answer
360 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: /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/...
0
votes
1answer
39 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 it'...
0
votes
1answer
414 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
3answers
160 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
90 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 ...
0
votes
3answers
217 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 -...