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
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.
export -n GNUPLOT_DRIVER_DIR=""07/10/19