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

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

0 Answers  


How to customise the existing shell?

1 Answers  


c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again

2 Answers  


How to redirect both standard output and standard error to the same location?

0 Answers  


Hi, I want to practise Unix korn shell scripting which i learnt 2 yr bfr. plz suggest software i can use to practise.

1 Answers  


how is the oppurtunities for unix in the software

1 Answers  


When you login to a c shell, which script would be run first?

2 Answers  


What is the purpose of scripting?

0 Answers  


How to check if the previous command was run successfully?

0 Answers  


Write a script to print the first 10 elements of fibonacci series.

0 Answers  


What are the Different types of shells?

5 Answers  


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

0 Answers  


Categories