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 do you create a shortcut in linux?
What is a program shell?
What is the fastest scripting language?
Why is the use of shell script?
Write a shell script to check whether a number is Armstrong number or not?
What is difference between bash and shell?
Explain about debugging?
What is the difference between a shell variable that is exported and the one that is not exported?
how can you execute the shell scripts?
What is shell variable?
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
What is shell geeksforgeeks?