5 Answered Questions for the topic environment variables

Environment Variables Linux Unset

06/27/19

How do I delete an exported environment variable?

Before installing gnuplot, I set the environment variable `GNUPLOT_DRIVER_DIR = /home/gnuplot/build/src`. During the installation, something went wrong. I want to remove the `GNUPLOT_DRIVER_DIR`... more
Environment Variables Linux Sudo

06/21/19

How to keep environment variables when using sudo?

When I use any command with sudo the environment variables are not there. For example after setting HTTP_PROXY the command `wget` works fine without `sudo`. However if I type `sudo wget` it says it... more
Environment Variables General Computer Windows Command Line

06/17/19

How can I display the contents of an environment variable from the command prompt in Windows 7?

In Windows 7, when I start the Command prompt, is there any command to display the contents of an environment variable (such as the `JAVA_HOME` or `PATH` variables)?I have tried with `echo $PATH`,... more
Environment Variables Python

05/08/19

How do I access environment variables from Python?

I set an environment variable that I want to access in my Python application. How do I get this value?
Environment Variables Linux Unix Crontab

04/18/19

Where can I set environment variables that crontab will use?

I have a crontab running every hour. The user running it has environment variabless in the `.bash_profile` that work when the user runs the job from the terminal, however, obviously these don't get... more

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.