
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` environment variable. How can I achieve it?
More
1 Expert Answer

Fernando F. answered 07/11/19
Tutor
5.0
(144)
I can teach you Unix, Database, Perl, Computers
You can remove any environment variable by using the 'unset' keyword. So to remove the variable in your example you would execute 'unset GNUPLOT_DRIVER_DIR'. The variable now no longer exists.
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.
Tom O.
07/10/19