How do you declare a global variable in shell script?
Answer
Global shell defined as: “You can copy old shell’s variable to new shell (i.e. first shells variable to seconds shell), such variable is know as Global Shell variable.” To set global varible you have
to use export command.
Answer
Global shell defined as: “You can copy old shell’s variable to new shell (i.e. first shells variable to seconds shell), such variable is know as Global Shell variable.” To set global varible you have
to use export command.