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 make userdefined variables to available for all
other shells?

Answer Posted / asit

for Global declaration::
setenv x 10
setenv str "test"
for local declaration::
set a = 10
set s = "test"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is shell scripting a language?

1041


c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command

5416


Is shell scripting a programming language?

1056


Why do we use shell scripting?

996


How do I set bash as default shell mac?

1010


What is the use of "$#" in shell scripting?

1070


What is the way to do multilevel if-else's in shell scripting?

1301


Calculate a real number calculation directly from the terminal and not any shell script.

1224


How do we delete all blank lines in a file?

1115


What does sh mean?

1055


Why are shell scripts used?

1078


Write the syntax for "if" conditionals in linux?

1118


What is the use of break command?

1111


What are types of shells?

1028


What is web script?

1093