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 is the conditional statement in shell scripting?
How does shell scripting work?
write a shell program to check wheather a given string is pallindrome or not?
Is it possible to substitute "ls" command in the place of "echo" command?
How to handle the delimiter unit seperator in Unix
How to print the first array element?
How do you schedule a command to run at 4:00 every morning?
How do I run a shell script on a mac?
how will you find the total disk space used by a specific user?
What does $1 mean in bash?
Create a bash shell script that reads a line from the user consisting of 5 words and then prints them out in reverse order. Name this script "reverse.sh"
What is option in shell script?