How to create environment variables?What are the conditions
for creating variables?
We can create environment variable by using export command.
(Also by using set, but difference between set and export
is the which has been exported is being availabe in
cloned/child shell.) export VAR="Welcome"
But problem is this variable has life span of sesson only.
For making it permananet we need to put that in login
script.
| Is This Answer Correct ? | 3 Yes | 0 No |
How to print pid of the current shell?
How will I insert a line "abcdef" at every 100th line of a file?
Where cron file kept?
What is gui scripting?
What are the different methods available to run a shell script?
What is option in shell script?
What lives in a shell?
What is @echo off?
What are script files?
How do I start a shell script?
Explain about gui scripting?
What is shell application?