Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Scripting > Shell Script

Shell Script Shell Script Interview Questions, Learn by sharing Shell Script Interview Questions asked in various companies, Get Career advices, Interview Procedures from Shell Script experts, Post asked Shell Script Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2008, 12:32 PM
Senior Member
 
Join Date: Feb 2008
Posts: 687
Default What is the difference between a shell variable

What is the difference between a shell variable that is exported and the one that is not exported?
Reply With Quote
  #2 (permalink)  
Old 06-28-2008, 05:21 AM
Junior Member
 
Join Date: Jun 2008
Location: Bangalore
Posts: 10
Default

A shell variable that is exported will be a global variable and can be used across various shell where as the non exported variable is local variable which is confined to the shell in which it was defined
Reply With Quote
Reply

Tags
scripting, shell script, software

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On