Deleting an exported environment variable

0 votes

While setting up gnuplot, I set the envirnment variable:

GNUPLOT_DRIVER_DIR = /home/gnuplot/build/src

But something went wrong while installation.

Is there any way I can remove this env variable and restart installation?

Mar 13, 2019 in Linux Administration by shubham
• 7,340 points
2,384 views

1 answer to this question.

0 votes

Just use unset command:

unset GNUPLOT_DRIVER_DIR

answered Mar 13, 2019 by DareDev
• 6,890 points

Related Questions In Linux Administration

0 votes
1 answer

Problem printing variable on terminal

You are basically trying to echo the ...READ MORE

answered Feb 18, 2019 in Linux Administration by Omkar
• 69,220 points
534 views
0 votes
1 answer

Setting environment variables in linux

You need to add more information about ...READ MORE

answered May 13, 2019 in Linux Administration by ajs3033
• 7,300 points
1,302 views
0 votes
1 answer

Comparing two string variables in an 'if' statement in Bash

1. For string comparison, use: if [ "$s1" ...READ MORE

answered May 15, 2019 in Linux Administration by Shubham
• 13,490 points
1,770 views
0 votes
1 answer

Cannot understand this "No X11 DISPLAY variable" error thrown at me

If you're on the main display, then export ...READ MORE

answered Jun 5, 2019 in Linux Administration by Upasana
• 8,620 points
10,769 views
0 votes
1 answer

Using shell variables in an awk script

Using -v is, imo, The best way because ...READ MORE

answered Jul 1, 2019 in Linux Administration by Shubham
• 13,490 points
2,712 views
0 votes
1 answer
0 votes
1 answer

How to delete an exported environment variable?

Hi@akhtar, To set an environment we used export ...READ MORE

answered Sep 22, 2020 in Linux Administration by MD
• 95,460 points
2,813 views
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
1,208 views
0 votes
2 answers

Install postgreSQL on Ubuntu

Follow the below commands to install PostgreSQL (PSQL) ...READ MORE

answered Nov 12, 2020 in Database by Prachi
• 140 points
1,305 views
0 votes
1 answer

setting a variable output from a bash command

You can use $(command), which in my ...READ MORE

answered Feb 15, 2019 in Linux Administration by DareDev
• 6,890 points
2,551 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP