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 12 in Linux Administration by shubham
• 6,560 points
13 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Just use unset command:

unset GNUPLOT_DRIVER_DIR

answered Mar 12 by DareDev
• 6,670 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 in Linux Administration by Omkar
• 66,880 points
32 views
0 votes
1 answer

Setting environment variables in linux

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

answered May 13 in Linux Administration by ajs3033
• 7,080 points
11 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 in Linux Administration by Shubham
• 12,710 points
30 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 4 in Linux Administration by Upasana
• 8,110 points
13 views
0 votes
1 answer
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,220 points
58 views
0 votes
1 answer

Install postgreSQL on Ubuntu

Installing PostgreSQL on Ubuntu is very simple, ...READ MORE

answered Mar 22 in Database by Nitesh
26 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

answered Mar 22 in Database by Mahi
17 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 in Linux Administration by DareDev
• 6,670 points
60 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.