LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   "Environment variables" (https://www.linuxquestions.org/questions/fedora-35/environment-variables-572134/)

kjartani 07-25-2007 06:39 AM

"Environment variables"
 
Hello
Where to find the environment variables in Fedora
I assume theyre stored in some file and that there are some program to make them viewable and editable....

I need to check some paths......

Kjartan Iversen

pixellany 07-25-2007 06:58 AM

"env" does it on my system
You change them with simple assignment statements

Simon Bridge 07-25-2007 07:03 AM

To check your path you enter:

echo $PATH

To edit it you use the export command. i.e. to add a directory to your path:

export PATH="$PATH:$HOME/bin"

... adds the directory ~/bin to your path.


All times are GMT -5. The time now is 12:03 PM.