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

Answer Posted / narendrasairam

What that makes the difference is its Access Scope.
An exported variable is available across the scrips unlike
an unexported one which is local to the script.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is shell scripting?

589


What is the command to find out users on the system?

572


c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command

4688


Write a shell script to get current date, time, user name and current working directory.

631


I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?

752






What are different types of shell?

490


What is option in shell script?

556


I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.

596


How to use arguments in a script?

579


What is the difference between grep and egrep?

606


What is echo $shell?

619


What is scripting autism?

700


Write a command sequence to find the count of each word?

538


What is sed in shell script?

568


What is scripting used for?

558