The paths tag has no wiki summary.
152
votes
16answers
144k views
How to add a directory to my path?
How do I add a directory to my $PATH in Ubuntu and make the changes permanent?
18
votes
2answers
728 views
Why does it take so long for Ubuntu to say “command not found”
For some reason, with my setup, it can take Ubuntu several seconds to respond with "command not found" when I accidentally typo a command. Why does it take so long? Is there any way to shorten the ...
9
votes
2answers
1k views
What are “$PATH” and “~/bin”? How can I have personal scripts?
What is $PATH?
How can I have commands/programs which are only available for me?
I have seen this path ~/bin mentioned before, but what is it used for, and how do I use it?
9
votes
2answers
2k views
What does .: mean in php include_path?
I'm trying to install Zend on a machine running xampp. Zend's help file says that in order to set up the command-line tools, I need to make sure that the contents of the /library directory are placed ...
7
votes
2answers
305 views
Copy file and folder path from Nautilus
How can I copy the file and folders full path in Nautilus? In the right-click context menu there is no such option provided. In file/folder property window I can only copy the folder path.
6
votes
1answer
31k views
What is PATH environment variable and how to add it
I just installed picc-9.82.9453-linux.run from Microchip website, and at the end it asked me
==> NOTE: You may wish to add the following
/usr/hitech/picc/9.82/bin
to your PATH ...
6
votes
2answers
3k views
Add bash script folder to path?
I have some bash scripts in an application folder that I'd like to use as if they were on my path. If they were straight-up applications, I'd just add the directory to ~/.bashrc, but these are ...
6
votes
2answers
769 views
Typing location path instead of clicking directory buttons in the file picker dialog?
Is there a way to change file picker dialog path input? I would like to type the path myself instead of clicking buttons to specify the destination path. In Nautilus I can hit Ctrl+L, to show the path ...
6
votes
2answers
129 views
How to package an application that contains a binary that needs to be in $PATH?
I am packaging an application that contains binaries that would normally go in /usr/bin and a shared library that would go in /usr/lib.
However, the package guidelines for submitting applications to ...
5
votes
2answers
152 views
Quick path jumping
I was just at a lecture, where I noticed the lecturer using a command (probably aliased) to jump to a specific folder.
Example:
~/code$ j sciproj
~/projects/sciproj2011/$
This looked quite slick, ...
5
votes
1answer
303 views
Why is $PATH different in the Nautilus-Elementary embedded terminal?
I'm running Ubuntu 10.10 with Nautilus-Elementary installed. When I open the embedded terminal in Nautilus (F7) and run echo $PATH, I get:
/usr/bin:/bin:./usr/local/bin:/bin
When run the same ...
5
votes
0answers
189 views
How to configure terminal window to open on a specific default path? [duplicate]
Possible Duplicate:
How can I start gnome-terminal at a particular directory?
At present, each time we open a terminal window we are placed inside our home directory.
/home/myuser/
I would ...
4
votes
2answers
863 views
Where should I store 3rd party jar (Java archive) files?
What would be the best place to save jar files of libraries I want to use in a project, that are not in any repositories, and how should I set permissions?
Should I put them in /usr/share/java, or is ...
4
votes
1answer
1k views
Is there a GUI to edit the PATH variable?
There's a GUI in Windows to edit the path variable. I was wondering if there's something equivalent in Ubuntu to do the same.
3
votes
3answers
2k views
How to find out the installation path to my browser?
I am installing a proprietary CAD application (MEDUSA4 personal) and the installer wants to know the path to my web browser (as a prerequisite for online help). I have the default firefox installation ...
3
votes
4answers
138 views
How can I find the location of files installed via Software Center are available?
I would like to know where I can find the location of program files of programs installed from the Ubuntu Software Center.
3
votes
2answers
2k views
How to open ~/.pam_environment?
I wanted to set environment variables JAVA_HOME and PATH. So I wanted to open ~/.pam_environment since it is the best place to set environment variables relevant to a particular user according to the ...
3
votes
2answers
8k views
How to find firefox path?
I have firefox in start menu, but there is no "properties" like in windows. how to find out were firefox is installed and how to check path of link in menu?
3
votes
3answers
959 views
How to log in after wrongly modifying path
I wanted to add a path so that the system could find some manually installed executable. However, instead of typing PATH=xxx:$PATH;export PATH at the end of ~/.profile where xxx is the directory in ...
3
votes
3answers
925 views
Ubuntu haves a different PATH when access via XRDP session
Noob here: I have a problem, when i access my server via SSH, the $PATH is correct
root@ks391320:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
But when i ...
3
votes
2answers
250 views
Why is 'libgnomevfs' files under /usr/include/gnome-vfs-2.0?
Most applications, including the gnomevfs headers themselves, expect the files to be under /usr/include/libgnomevfs, but Ubuntu has them under /usr/include/gnome-vfs-2.0/libgnomevfs.
Why? The package ...
3
votes
1answer
48 views
Altering the prompt
Ok, so i am trying to create an alias, that would allow me to set the current directory in the terminal, the base directory to be displayed in prompt. Let's assume the alias is named basedir
For ...
3
votes
1answer
75 views
Unable to execute shell scripts from `~/bin` [duplicate]
I am learning to write shell script from this tutorial on linuxcommand.org. It says -
Most modern Linux distributions encourage a practice in which each
user has a specific directory for the ...
3
votes
3answers
891 views
Add path to PATH environment variable for www-data
I'm trying to add /usr/local/texlive/2012/bin/x86_64-linux to the PATH environment for my Apache user (www-data) after installing TeX Live 2012 manually.
I edited my /etc/environment
export ...
3
votes
4answers
6k views
ifconfig : Command 'ifconfig' is available in '/sbin/ifconfig'
My question is related to another open question. My echo $PATH gives me an output which is like
...
3
votes
2answers
706 views
Alt+F2 (Run Application) doesn't work for custom commands
In order to speed up Android development, I've edited my ~/.bashrc to add some paths to PATH:
export PATH=${PATH}:/opt/android-sdk/tools:/opt/android-sdk/platform-tools
This works just fine from ...
2
votes
3answers
177 views
Difference between ~/folder and /home/username/folder when creating a path in /etc/environment
I had an executable script on my ubuntu located on ~/project/ directory and I tried to add that path to /etc/environment . So , I edit the path to this ...
2
votes
1answer
1k views
When I type in terminal: export JDK_HOME=“/usr/lib/jvm/java-6-sun/”, where does it get stored?
I have tried multiple locations, but with no luck of finding where was it added:
.bashrc
.bash_profile
/etc/profile
/etc/environment
.profile
When I do echo $JDK_HOME, I get what I expect ...
2
votes
2answers
276 views
Adding a dir to the PATH for my account everywhere
I want to append the directory /home/bart/bin to my PATH. By my PATH, I mean that it should be available whenever I login, whether it be via the terminal, Gnome, KDE or SSH, but not for other users. ...
2
votes
2answers
151 views
I'm using ~/bin in my $PATH variable, how can I make unity also display my scripts in there?
I have some scripts and some starters for programs I didn't install via the Software Center in my ~/bin folder. It is in my $PATH variable and I can use my scripts by pressing Alt+F2 and also directly ...
2
votes
1answer
33 views
set PATH to include custom folders
I refer to help.ubuntu.com to set environment variables.
I'm required to set some variables (GRIFFON_HOME and GROOVY_HOME) for a user and also I want to include bin folders to my PATH so I edited ...
2
votes
2answers
166 views
How can I add a directory to my PATH? [duplicate]
Possible Duplicate:
How to add a directory to my path?
I created a .bash_aliases file with the following contents:
PATH=$PATH:$HOME/opt/bin
So it adds /home/myuser/opt/bin to $PATH.
I ...
2
votes
2answers
161 views
gsutil bashrc file path setting
Actually I have just installed gsutil by following the instructions here.
But now when I am typing gsutil at command prompt I am getting following:
No command was given.
Choose one of -b, -d, -e, or ...
2
votes
1answer
518 views
Adding directory to PATH, various ways and differences
I have seen the thread
How to add a directory to my path?
I already have added the directory in my PATH by directly editing the /etc/environment. However, I do not get the command working when I use ...
2
votes
1answer
2k views
/etc/environment and /etc/profile.d/* ignored for the root user
How do I set global environment variables in Ubuntu, in such a way, that they would apply also to root user?
Setting PATH or JAVA_HOME in /etc/environment
or in /etc/profile.d/my_settings.sh
both ...
2
votes
1answer
139 views
PATH not working even after successfully modifying it
For some reason I am successful in adding new directories to my $PATH but when I run the commands in the terminal the $PATH doesn't summon them.
I modified the $PATH in the ~/.bashrc file, and added ...
2
votes
1answer
184 views
User in www-data group can not find command
I have installed a new application, and I wish to run it by a php script(system and exec function), so that others can run it through their browsers. I tried to run that php script in my terminal at ...
2
votes
1answer
50 views
$PATH prolems in Ubuntu
I have an application named delphi in Delphi_Dp directory.
Its PATH is /usr/kalyan/Downloads/Delphi_Dp
I have done export
PATH=$PATH:/usr/kalyan/Downloads/Delphi_Dp
echo 'export ...
2
votes
1answer
108 views
How to make ubuntu understand a windows-style folder path as a folder on windows partition?
I have ubuntu and Win7 on dual boot.
On windows, a use a program that is set to save things on a given windows folder (like "D:\some folder").
On ubuntu, I can run this exact same program (it's not a ...
2
votes
1answer
40 views
PATH details different in different terminal windows
I have added a particular path to PATH and I am able to see that it has been added when I echo it, but when I echo $PATH in another window I cannot see that path I recently added. I am not sure why I ...
2
votes
1answer
187 views
$PATH from /etc/environment overwritten
I'm upgrading a bunch of installations of 10.04 to 12.04. In 10.04 I used to define system wide env. variables in /etc/environment.
It works, but not for $PATH that seems to be overwirtten.
I don't ...
2
votes
0answers
374 views
Stand-alone Flash projector doesn't take relative paths [closed]
I'm a Flash developer. I developed a Flash app which I want to distribute on all platforms. I recently installed Ubuntu and I'm using the Adobe Flash Player 10 to generate a stand-alone linux ...
1
vote
3answers
1k views
Launch shell scripts from anywhere
Is it possible to run my scripts located in ~/scripts from anywhere?
Say i want to run ./scriptname regardless of my current working directory.
1
vote
2answers
439 views
“Pointers” with $ Syntax in /etc/environment
Is it valid to have "pointers" in /etc/environment using $FOO syntax? Right now my /etc/environment looks like this:
JAVA_HOME=/usr/lib/jvm/java-6-openjdk
...
1
vote
2answers
4k views
How to find full path of device I've connected?
I have USB device, which is actually identified as serial device by Ubuntu 10.04. How can I find its full path?
ls -la /dev/
shows a lot of devices. How to choose correct one?
1
vote
1answer
209 views
How can I add nbconvert to my $PATH and where is the installation folder located?
I tried installing nbconvert via the instructions on their readme. The curl line and the pip install line worked flawlessly, but I can't decipher what is meant by:
You will need to either put the ...
1
vote
1answer
348 views
Path to user desktop using python
This may seem stupid to a few, but I was wondering if there was some code to find out the operating system of the present user, and then the path to his Desktop using python.
1
vote
1answer
1k views
Path not setting up for a setup
I am unable to add path of my omnet bin directory for the installation.
During the installation i go to the omnet directory and enter ./configure which gives me the following errors
WARNING: your ...
1
vote
1answer
399 views
How to install VLC extensions in Ubuntu?
VLC player allows installing extensions, plugins, skins. They have to be copied into a folder: for example, its .lua extensions should be in a folder with the same name. Where is that?
1
vote
2answers
182 views
How to find python installation directory on ubuntu
I have just migrated from Windows environment. I have installed Python 3.2 in a separate directory. How can I get the python installation path on ubuntu shell ?
Is there any way I can let shell ...

