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?



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

Answer / 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

More Shell Script Interview Questions

one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

0 Answers  


What is shell and shell script?

0 Answers  


What is mac default shell?

0 Answers  


What are the different commands available to check the disk usage?

0 Answers  


How Connect to a Database in Shell Programming?

4 Answers   Syntel,


What is the difference between a 'thread' and a 'process'?

3 Answers  


What can scripts do?

0 Answers  


What is in a script?

0 Answers  


what is the difference between writing code in shell and editor?

1 Answers  


Is powershell a bash?

0 Answers  


What language is used in terminal?

0 Answers  


Which scripting language is best for automation?

0 Answers  


Categories