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