How do I delete an exported environment variable? August 27, 2022 by Tarik unset is the command you’re looking for. unset GNUPLOT_DRIVER_DIR