What is the difference between a shell variable that is
exported and the one that is not exported?

Answer Posted / madhavi

the major difference between the shell variable that is
exported and not is variable exported using export command
is global to all shell,where as the other shell variables
are local to their respective shells.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is the use of shell script?

633


How do scripts work?

692


What is the syntax of "nested if statement" in shell scripting?

706


What is an inode block?

670


How to get the 3rd element/column from each line from a file?

783






Write down the syntax of "for " loop

704


How to check if the previous command was run successfully?

665


How to set an array in linux?

668


What is bash coding?

578


What are the advantages of shell scripting?

685


Which is better perl or shell scripting?

642


What is the default ubuntu terminal?

719


Explain about echo command?

715


What will happen to my current process when I execute a command using exec?

617


‎What is a shell? · ‎Types of shell · ‎what is shell scripting?

629