What is a single environment variable? I'm having trouble defining it. And how do you disply it?
What is a single environment variable? I'm having trouble defining it. And how do you disply it?
Code this
>What is a single environment variable?
Just a simple environment variable.
>I'm having trouble defining it.
Depends on your shell, here are two common ones
bash:
tcsh:Code:$ export OOGA="This is a simple environment variable" $ echo $OOGA This is a simple environment variable
Pretty much any other common shell will be a derivative of one of those two. Check your friendly neighborhood man pages to see how to do it with your shell.Code:% setenv OOGA "This is a simple environment variable" % echo $OOGA This is a simple environment variable
>And how do you disply it?
What do you know, I answered two questions with one answer. Look above to see a way to echo a shell variable.
The information given in this message is known to work on FreeBSD 4.8 STABLE.
*The above statement is false if I was too lazy to test it.*
Please take note that I am not a technical writer, nor do I care to become one.
If someone finds a mistake, gleaming error or typo, do me a favor...bite me.
Don't assume that I'm ever entirely serious or entirely joking.
What do you know, I answered two questions with one answer. Look above to see a way to echo a shell variable.
lol, thanks!
Code this