Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to create environment variables?What are the conditions
for creating variables?

Answer Posted / siba sankar nayak

We can create environment variable by using export command.
(Also by using set, but difference between set and export
is the which has been exported is being availabe in
cloned/child shell.) export VAR="Welcome"
But problem is this variable has life span of sesson only.
For making it permananet we need to put that in login
script.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write down the syntax of "for " loop

1032


What is difference between bash and shell?

1005


Explain about the slow execution speed of shells?

1159


How do I run a script on mac?

1023


Write a command sequence to find the count of each word?

939


What does $$ mean in shell script?

989


What are scripts in psychology?

987


Is shell a scripting language?

947


What is bash used for?

959


Explain about shebang?

984


Write down the syntax for all the loops in shell scripting.

1074


What are the different variables present in linux shell?

1038


What happens when you type ls?

927


Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.

2202


What can you do with powershell?

1057