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 |
What are the advantages of shell script?
what are special characters and explain how does text varies by the usage of single quotes,double quotes and back quotes?
Explain about return code?
How important is shell scripting?
What are scripts in psychology?
What are the Different types of shells?
When should shell programming/scripting not be used?
What is the meaning of $1 in shell script?
Is shell script a programming language?
I want to read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this?
How will you print the login names of all users on a system?
Where are cowrie shells found?