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

1
vote
1answer
49 views

Where can I test a path?

I have tto check a path like "volume1:FTPRoot:StenRoot:Stnp00:A12:B38:f000031913". Is there an easy place where I can paste this to unsure me that this path is valid ? PS / I can follow it manually, ...
1
vote
1answer
59 views

Script doesn't find file

Suppose my_folder contains my_script and my_program. my_script tries to run ./my_program -myoptions. It works when I cd into the directory, but not when I double click on it. Here is the output: ...
1
vote
1answer
24 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 ...
1
vote
1answer
238 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
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
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: ...
1
vote
1answer
465 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 ...
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 ...
1
vote
1answer
329 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 ...
1
vote
2answers
179 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 ...
1
vote
1answer
509 views

Permission denied error when opening Terminal

I'm using a clean install of 10.8. I wanted to add a couple of directories to my path. I tried adding them to /etc/paths using sudo vim /etc/paths Now when I open a terminal window I see this: ...
1
vote
1answer
521 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
3answers
43 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
2answers
163 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 ...
1
vote
1answer
151 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. ...
1
vote
1answer
549 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 ...
1
vote
0answers
261 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 ...
1
vote
1answer
165 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 ...
1
vote
0answers
98 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
214 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, ...
1
vote
1answer
34 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?
1
vote
1answer
587 views

Why can't I chmod to make a file executable without sudo?

On OS X 10.6.8, I made a small script file in my home directory and tried to make it executable. Surprisingly, I found that chmod had no effect until I ran it as super-user. I own and have write ...
0
votes
3answers
78 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
3answers
1k 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
2answers
51 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?
0
votes
1answer
84 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 ...
0
votes
1answer
123 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 ...
0
votes
2answers
543 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
1answer
144 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 ...
0
votes
4answers
137 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
1answer
88 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 ...
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
49 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
79 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: ...
0
votes
1answer
142 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 ...
0
votes
1answer
1k views

$PATH error on a terminal

Before you raise your pitchforks, this is NOT another "How do I change my $PATH variable value?" question. I had installed Oh my zsh on my machine(Macbook Pro), and didn't like it. So I uninstalled ...
0
votes
1answer
222 views

How do I change my (non-interactive shell) PATH?

For example, when I launch Emacs from the terminal (an interactive shell), I can use "M-x shell". When I launch Emacs from the dock (which spawns process from some other shell), I cannot, because ...
0
votes
1answer
2k views

Change PHP $PATH setting?

How to change PHP $PATH setting? I am using MAMP 2.x, my terminal for PHP command is already set to the MAMP PHP 5.3.x, but now I want to change to PHP 5.2.x I have done this before, but i forget ...
0
votes
0answers
8 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
20 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
55 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 ...
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 ...
0
votes
0answers
62 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
152 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 ...
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 ...
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
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 ...
0
votes
1answer
177 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 ...