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?

Answers were Sorted based on User's Feedback



How to make userdefined variables to available for all other shells?..

Answer / guest

By exporting the variable

export VAR=value_of_the_variable

Is This Answer Correct ?    2 Yes 0 No

How to make userdefined variables to available for all other shells?..

Answer / biswaranjan

sorry the above ans ps1 is wrong by mistaken i sent it

Is This Answer Correct ?    1 Yes 0 No

How to make userdefined variables to available for all other shells?..

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

How to make userdefined variables to available for all other shells?..

Answer / biswaranjan

in "PS1" environment variable

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Shell Script Interview Questions

write a shell script to check the failed jobs?

0 Answers   Wells Fargo,


What is the basic difference you find between a shell script and perl?

3 Answers   Yahoo,


How many prompts are available in a UNIX system?

1 Answers  


What are the different types of commonly used shells on a typical linux system?

0 Answers  


write a program to display all the files from the current directory which are created in particular month

6 Answers  


What is INODE?

2 Answers  


What is a shell script? Can you name some of its advantages?

0 Answers  


How do I run a .sh file?

0 Answers  


What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?

0 Answers  


What is path variable bash?

0 Answers  


How u convert string "hi pravin how are you?" to "Hi Pravin How Are You?"

12 Answers   Cap Gemini,


How do I open the shell in cmd?

0 Answers  


Categories