PATH (all upper case) is the name of an environment variable on Unix-like operating systems, DOS, OS/2, and Microsoft Windows, specifying a set of directories where executable programs are searched for.

learn more… | top users | synonyms

1
vote
1answer
74 views

Getting sudo to work for an alias

I installed Sublime Text 3 in Fedora 20 which has got GNOME, as I couldn't get it being called from terminal I created a .bash_aliases file which a line like this: alias sublime='sublime_text' And ...
1
vote
3answers
1k views

Cannot find lib in path

I am trying to start a program that relies on some libraries that are in my path, however, the program says it cannot find the files: 11:45:27 ~ > echo $PATH ...
1
vote
2answers
11k views

changing an environment variable like PATH forever [duplicate]

Possible Duplicate: How do I set a user environment variable? (permanently, not session) to change the amount of PATH variable , I use : export PATH=... but when I close the terminal, the ...
1
vote
1answer
182 views

How to find/correct error in a path

It's often that a long path is mistyped or you get a log file entry that a path does not exist. Is there a command or shell function that navigates the path hierarchy until it finds a matching path? ...
1
vote
2answers
59 views

Alias from .bash_profile is not reflected across the system

I have few path settings and alias in .bash_profile, and I am exporting those. For example: alias gcc=/abc/def/......./myrtgcc export gcc And I want use myrtgcc to compile C programs either from ...
1
vote
1answer
47 views

Does a duplicate entries in a PATH variable revoke the precedence given by the first entry?

If I have a PATH variable that (when exploded onto multiple lines) contains something like this (with a few notes added by me): /Users/brandon/.rvm/gems/ruby-2.0.0-p353/bin ...
1
vote
1answer
62 views

Program installed to `/home/username/bin` and added to path… not launching [duplicate]

I just installed newer versions of grep and vim to my local ~/bin directory. I have the path added via PATH=$PATH:$HOME/bin in my .bash_profile. When I try to run either, the version installed in ...
1
vote
1answer
86 views

Why does root not have /usr/local in path?

I've noticed that the default path for root on my of my vm's and servers do not include /usr/local/bin sudo -s echo $PATH /sbin:/bin:/usr/sbin:/usr/bin Whereas normal users on the server do have ...
1
vote
2answers
319 views

Cannot change JAVA_HOME

When I run java -version in my terminal I get: user@ubuntu:~$ java -version java version "1.7.0_25" OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2) OpenJDK 64-Bit Server ...
1
vote
1answer
45 views

Compiled, can't access with sudo

So I compiled FFmpeg from this guide as a standard user and it works fine as the user I compiled with but if i do sudo ffmpeg the program can't be found. Is it possible to make it accessible by root ...
1
vote
2answers
127 views

Launcher for a Python program that requires extra libraries

I'm trying to get a launcher working for the WikidPad (python) program. I already have a python program, so I looked into the file /usr/share/applications/taskcoach.desktop. The exec line was simply ...
1
vote
1answer
626 views

How to force a particular version of Java?

I am on a RHEL 5.5 64 bit box. The systems engineer installed the 64-bit Java VM under /usr/bin ; however, I needed a 32 bit VM which he installed in /opt/jdk1.6.0_35. But now, everytime I do java ...
1
vote
1answer
214 views

Using emacsclient with custom emacs in $PATH

I want to use emacs command as a substitution for emacsclient -c -a "", which according to man connects to an existing emacs daemon, or creates a new daemon and connects to it otherwise. So i created ...
1
vote
1answer
534 views

Execute a command in a different path

When using Git VCS, I execute all of the git commands on the directory that contains a .git repository. I want to execute a git-pull through an SSH trigger but how do I define the path to the ...
1
vote
2answers
45 views

Hardcoded /usr/bin/env in configure scripts

I'm building a Linux system that doesn't have a /usr directory. Getting the toolchain to work was surprisingly easy, but I'm hitting this irritation with a lot of auto* scripts: configure, etc. often ...
1
vote
1answer
610 views

Unable to log in. xsession-errors file looks like it could be useful if I understood

I am unable to log in to my account, having recently installed Linux Mint. I had this problem with Ubuntu 13.10, and no amount of re-installations seemed to fix it. However, Mint gives me a very ...
1
vote
2answers
60 views

Make Trickle get the correct $PATH

Trickle is a bandwidth limiting program. I have the following script for trickle. #!/bin/bash echo $PATH trickle -s -t 3 -u 200 -d 200 "$@" I have a script in ~/bin/ that want to run the script ...
1
vote
2answers
85 views

How can I clean out duplicate entries from my PATH? [duplicate]

Currently, my $PATH has two identical entries for /usr/local/bin and I'm curious whether there's a way to clean that up, or if I should just not worry about it. It looks like this (broken up into a ...
1
vote
3answers
452 views

I don't see .bashrc in my home directory but want to make a permanent change to my path

I am trying to add a location to my $PATH variable on a Mac running OS X. I am following this tutorial, which says to edit the .bashrc file. I don't see this file in the home directory even when I do ...
1
vote
2answers
111 views

Is there a problem if I add a non-existing path to `PATH` environment variable?

I have a following lines in my .bash_profile. if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi I think I found it somewhere in the internet. Is it also ok, if I write only ...
1
vote
2answers
2k views

Globally change path for all users, even in cron

We're setting up an SGE cluster with CentOS 6. My sysadmin is installing applications that are not installed via RPM (i.e. via other means like make install) should go in a non-standard directory, in ...
1
vote
1answer
149 views

Problem with LD_LIBRARY_PATH, program can't find a libraray.

I have already asked this question on stackoverflow, but it's also a linux related question and somebody here might know a solution. Hope it's okay. Problem is that I can't run 3D visualisation in ...
1
vote
1answer
769 views

Numpy module not found despite being in path

I am having trouble with the module on python. Here is my path variable, /opt/local/bin /opt/local/sbin /Developer/usr/bin /usr/local/git/bin /usr/X11/bin /Users/oskarniburski/.rvm/bin /usr/X11R6/bin ...
1
vote
1answer
56 views

Terminal sometimes fails to find executables on local directory [duplicate]

I can open my terminal emulator via a keyboard shortcut or through the apps finder that executes the exo-open --launch TerminalEmulator command. My terminal starts and I can cd to any directory and ...
1
vote
2answers
33 views

remove files after insertion into tarball

I want to limit the number of files that get put into a tar ball and erease them after they've been inserted into the tarball and being indipendent from the current directory. I've tried this: tar -C ...
1
vote
1answer
44 views

Changing the PATH variable for a process running as a user on Linux

I have a server application which I start using an init.d script and run as a user: su $USER -c "${PLAY} start ${APPLICATION_PATH} --%prod-test >/dev/null" The application needs ffmpeg, which is ...
1
vote
2answers
55 views

How can I substitute one command for another temporarily?

I'd like to alias sed to gsed, but only while a particular script is running. I have a script that invokes sed. On the Mac, BSD sed doesn't support the required features, but I don't want to replace ...
1
vote
1answer
582 views

Why I got error: `error while loading shared libraries: libmpich.so.3`?

I installed mpich-3.0.4 not in a default location. I installed it based on the mpich installer's guidance. However when I try to run: mpiexec -n 4 -f machinefile ./mpich-3.0.4/examples/cpi It ...
1
vote
1answer
832 views

/etc/environment not working

I am using Ubuntu 12.04. Recently, I accidentatlly removed python, causing a huge number of packages to be uninstalled. I reinstalled them, but now I am having problems. $ echo $PATH ...
1
vote
1answer
47 views

Filepath: use same filepath on unix and winodws

I am working on application which work on both unix and windows environment. I have mapped my unix drive on windows using samba. On cygwin: ls -l /remote /remote -> //samba1 when I try ...
1
vote
2answers
326 views

why can't linux see my run.sh command?

I have a run.sh in a directory in ubuntu linux 12.04 LTS. I've been changing the Path variable so that it can "see" binaries elsewhere in the directory structure. But I am still getting a command not ...
1
vote
2answers
635 views

$PATH not modified inside LXDE on Raspbian

I have a bin directory in home/pi. This is added to my $PATH when I login (by .profile), but when I go into LXDE and use LXTerminal my bin directory is no longer added to $PATH.
1
vote
4answers
46 views

Ambiguously named executables

It appears that in tcsh if I have ambiguously named executables in two separate folders in the $PATH it directs to the one in the most recently created folder. Am I correct? And is this always true? ...
1
vote
2answers
541 views

Executable located in location A how to run it in location B?

So, I've an executable in my debian server and this executable located in /home/human/ExecuteIt, still i cant figure it out how to run my executable in another location. In my case it is ...
1
vote
1answer
2k views

Wallpapers' s folder in XFCE4

I've just installed XFCE4 on Arch Linux, now I'd like to add an image in the wallpaper folder, someone know the full path. I'm searching, but I haven't found yet.
1
vote
1answer
366 views

Can I get correct $PATH when executing sudo -u db2inst -sh “db2”?

I need to run sudo -u db2inst1 sh -c "db2 connect to db; db2 set schema Edumate; db2 \"select * from edumate_settings\"" but I don't want to specify absolute path to db2 If I run sudo -u db2inst1 sh ...
1
vote
1answer
1k views

What is wrong with my JDK installation?

I tried to compile a Hello world example in java and got a gcc error. As far as I understand it, gcc is trying to compile my java class (and for some reason failing to find the main method, but that's ...
1
vote
1answer
345 views

Broken PATH in CentOS 5.x

I am having troubles with typing commands within the terminal on some of our CentOS servers. For example, I have to include the complete and full path to the command (i.e. /sbin/chkconfig vs. ...
1
vote
2answers
3k views

moc command not found?

On my Gentoo systems I've never had a problem with this and I run moc as I run any other command in the terminal. I recently switch to Fedora 15/16 and notice that running moc doesn't work. I get ...
1
vote
1answer
171 views

How do I change the path used by the Gnome Command Line applet?

For my shell, I know that I have to modify .bashrc to add my ~/bin directory to the command path, but how do I get the Gnome Command Line applet to use that as a program location too? I'm using ...
1
vote
1answer
2k views

Help with installation of ROOT, PATH variable is getting deleted

I am trying to install ROOT which I need for work. I run Ubuntu 10.04 64 bit on virtualbox on my laptop. After extracting the tarball, I try to source the .sh file using the command as suggested in ...
1
vote
0answers
51 views

'ls' not working, wrong PATH variable [closed]

ls is not working [root@xilinx ~]# echo $PATH /root/usr/bin:/root/usr/bin [root@xilinx ~]# ls bash: ls: command not found Was trying to add; > PATH=/root/CodeSourcery/Sourcery_G++/bin:$PATH ...
1
vote
0answers
85 views

Map invalid file paths to valid file paths

I am running a program on linux which access an invalid location, say: /home/area/file. I know the valid location is /home/area/something_else/file. The problem is the input file for this program is ...
1
vote
1answer
92 views

Java PATH issue when installing JDK7 on centos 32 bit

I have Installed JDK 7 on CentOS 32 bit virtual machine. I also have set the path for java. In one terminal it is showing java1.7 But when I open another terminal and look for, java -version It is ...
1
vote
0answers
34 views

How do the various configuration files determine MANPATH on Darwin?

On Darwin (12.2.0, OS X 10.8.2, bash 3.2.48(1)) my MANPATH appears to be determined by my PATH rather than by the various configuration files associated with man and the man path, /etc/manpaths, ...
1
vote
0answers
332 views

How to install Ruby Test to Sublime Text 2

I am quite new to Ubuntu, so I am running into some problems. I was following this tutorial to install Ruby Tests for Sublime Text 2: https://github.com/maltize/sublime-text-2-ruby-tests There is ...
1
vote
0answers
489 views

Having a problem installing snort on fedora 17 [closed]

I've installed the latest versions of libpcap and libdnet. There is however a problem with daq. I configured snort with --wth-daq-libraries=/usr/local/lib/daq and --with-libpcap-libraries=/usr/lib ...
1
vote
3answers
133 views

Add $HOME/bin to PATH for a single user in Debian Wheezy with LXDE

In Ubuntu, if $HOME/bin exists, it will be automagically added to PATH, but this doesn't happen in Debian. How do I permanently add it to PATH for a given user, but only for him, not for all users? I ...
1
vote
1answer
76 views

Editing the .profile file to access

I am trying to source my .profile file to easily access a directory of javatools. The bash code below seems like it should work but it does not. Any help troubleshooting this script would be very much ...
0
votes
3answers
59 views

How do I create this symbolic link in Unix?

I want to run gmake when I run make, so I am creating a symbolic link. My gmake is inside /usr/local/dist. My make is inisde /usr/ccs/bin. Is this the correct command: ln -s /usr/local/dist/gmake ...