A set of dynamic variables that can affect the running processes.

learn more… | top users | synonyms

2
votes
2answers
316 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. ...
3
votes
2answers
151 views

rake command line

Is there a way in Ubuntu to have rake commands (Ruby) available on the command line? I solved adding the following line to bashrc, but I think there should be a better way. export ...
3
votes
2answers
648 views

How to persistently export an environment variable before starting compiz

A few months ago compiz suddenly stopped working. That is, it got to a refreshrate where the redrawing is more than noticeable. It took 5 seconds to redraw a chat window. Ever since I've been using ...
6
votes
1answer
431 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 ...
2
votes
2answers
1k views

How to set different environment variables for different hosts

We are using NIS and Automount for *nix developing hosts. So I can login any host with the same identity and same home directory. I hope to set different environment variables when login different ...
5
votes
4answers
27k views

Set LD_LIBRARY_PATH for applications started from the desktop

I have Qt Creator installed on Ubuntu 10.04 LTS. When I launch Qt Creator from the desktop I can build the application I am working on but cannot run or debug it. After struggling quite a bit I ...
19
votes
2answers
10k 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?
27
votes
4answers
46k views

Where to declare environment variables?

What are correct places for: Global environment variables meant to affect all users? User-specific environment variables?
22
votes
3answers
36k views

How do I modify my PATH so that the changes are available in every Terminal session

I want to add a directory to search my search path. I know I have to modify the $PATH environment variable. However, I want the change to be permanent, so that it is always in effect, for every ...
31
votes
4answers
81k views

How do I set environment variables?

I'm trying to set up Apache Tomcat on my pc, and it wants me to set up an environment variable for CATALINA_HOME. Does any know how to do this?
7
votes
2answers
2k views

Where can I find documentation on the /etc/environment file format?

From System-wide environment variables: /etc/environment - This file is specifically meant for system-wide environment variable settings. It is not a script file, but rather consists of ...
341
votes
15answers
477k 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?