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 |
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
What is shell and shell script?
What is mac default shell?
What are the different commands available to check the disk usage?
How Connect to a Database in Shell Programming?
What is the difference between a 'thread' and a 'process'?
What can scripts do?
What is in a script?
what is the difference between writing code in shell and editor?
Is powershell a bash?
What language is used in terminal?
Which scripting language is best for automation?