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

What is echo $shell?

1029


Why is used in shell scripting?

954


What are the default permissions of a file when it is created?

973


What is a batch file used for?

1048


How do I stop script errors?

1063


How are shells born?

925


Where are cowrie shells found?

974


Why should we use shell scripts?

1014


What is bash shell command?

979


What is awk script?

934


How do we delete all blank lines in a file?

1065


c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l

3718


What are the different variables present in linux shell?

1057


What is scripting autism?

1175


Write a command sequence to find all the files modified in less than 2 days and print the record count of each.

1460