How to create environment variables?What are the conditions
for creating variables?
Answer Posted / siba sankar nayak
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 |
Post New Answer View All Answers
Write down the syntax of "for " loop
What is difference between bash and shell?
Explain about the slow execution speed of shells?
How do I run a script on mac?
Write a command sequence to find the count of each word?
What does $$ mean in shell script?
What are scripts in psychology?
Is shell a scripting language?
What is bash used for?
Explain about shebang?
Write down the syntax for all the loops in shell scripting.
What are the different variables present in linux shell?
What happens when you type ls?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.
What can you do with powershell?