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 is the conditional statement in shell scripting?

0 Answers  


How does shell scripting work?

0 Answers  


write a shell program to check wheather a given string is pallindrome or not?

4 Answers  


Is it possible to substitute "ls" command in the place of "echo" command?

0 Answers  


How to handle the delimiter unit seperator in Unix

2 Answers  


How to print the first array element?

0 Answers  


How do you schedule a command to run at 4:00 every morning?

5 Answers   Wipro,


How do I run a shell script on a mac?

0 Answers  


how will you find the total disk space used by a specific user?

0 Answers  


What does $1 mean in bash?

0 Answers  


Create a bash shell script that reads a line from the user consisting of 5 words and then prints them out in reverse order. Name this script "reverse.sh"

1 Answers  


What is option in shell script?

0 Answers  


Categories