Thursday 8 November 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

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...