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

Answer Posted / guest

By exporting the variable

export VAR=value_of_the_variable

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between grep and egrep?

614


Explain about return code?

636


What is an inode block?

579


What is the use of a shebang line?

625


Please give me example of " at command , contrab command " how to use

2331






What is a beat in a script?

548


What is the conditional statement in shell scripting?

661


How do scripts work?

612


What is the use of break command?

590


How are shells born?

561


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

522


What is the purpose of scripting?

584


What is scripting used for?

566


What is wc in shell script?

557


What is the fastest scripting language?

552