how to remove variable from environment linux code example
Example 1: remove environment variable linux
$ unset <var-name>
Example 2: bash delete env variable
unset GNUPLOT_DRIVER_DIR
$ unset <var-name>
unset GNUPLOT_DRIVER_DIR