get all vars and set locally in script
Hi,
I am new to linux and need to do this in a script. 1. Get all the vars (env command) 2. Set them locally (name, value pair) in script using loop iteration. Pseudo code Code:
vars = 'env' |
Can I ask why you would want to do this, when the "vars" are already environmentally set? This makes no sense to me whatsoever...
Edit - TB0ne's post under mine sounds clearer, for as I don't have as good writing skills, as you can tell. That being said, we now NEED to know what you are trying to accomplish.... Josh |
Quote:
Please clarify the question, and post the code you've already written. There are also many bash scripting tutorials you can find on the Internet, which should be able to help you. And is this homework??? |
All times are GMT -5. The time now is 11:32 PM. |