Thursday, November 8, 2018

linux - How do I delete an exported environment variable?

Answer


Answer




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?


Answer



unset is the command you're looking for.



unset GNUPLOT_DRIVER_DIR


No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...