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
2answers
20 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 terminal is open. I tried to ...
0
votes
1answer
29 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: ...
1
vote
1answer
17 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
47 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. ...
1
vote
1answer
55 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
47 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
46 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
47 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
26 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
31 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 ...
0
votes
0answers
27 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 ...
0
votes
2answers
157 views

How can I reset $PATH in OSX?

When I run: echo $PATH I get this: ...
3
votes
0answers
2k 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 ...
1
vote
2answers
85 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
56 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
312 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
42 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
105 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
47 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
38 views

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

So I do echo $PATH and my path is ...
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
40 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 ...
0
votes
1answer
91 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
133 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
143 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: ...
0
votes
1answer
33 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 ...
0
votes
1answer
374 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
101 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
54 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
155 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
200 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
1k 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
79 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 ...
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 ...
0
votes
0answers
166 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
168 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 ...
-1
votes
1answer
53 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
3answers
191 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 ...
1
vote
1answer
313 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
721 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
1answer
118 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, ...
0
votes
1answer
340 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 ...
5
votes
4answers
491 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
182 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
116 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
76 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
218 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
20 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. ...