bash shell script unset environment variable 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