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
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
How to print all the arguments provided to the script?
How to get script name inside a script?
Why should we use shell scripts?
How do I read a .sh file?
How to find duplicate record in file using shell script?
How do I run a shell script in powershell?
What are the advantages of shell script?
How do I run a bin bash script?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
What does $@ mean bash?
Explain about sourcing commands?
How do I set bash as default shell mac?
determine the output of the following command: echo ${new:-variable}
What is computer cli?