|
| Total Answers and Comments: 6 |
Last Update: July 18, 2008 |
|
| | |
|
Submitted by: riteshvado
try this simple script it will clear your concept :-
script a.sh :- ---------- export A=3 B=5 sh b.sh --------
script b.sh :- ----------- echo "exported variable $A is :- $A" echo "Variable $B -- $B "
---------
A persists in b.sh whereas B doesn't.
Above answer was rated as good by the following members: csprusty, shahhardik, abhimishraoist, pmchaurasia | Go To Top
|