View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Sat Aug 03, 2002 2:35 am Post subject: Enviroment Variables Question |
|
|
I know i can set an enviroment setting bye using
#export variable
but how can i see what variable are in the enviroment and what their settings are???
Thanks |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat Aug 03, 2002 4:37 am Post subject: |
|
|
At a prompt, type set and then hit return. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
binbash n00b
Joined: 04 Jul 2002 Posts: 16
|
Posted: Sat Aug 03, 2002 8:34 am Post subject: |
|
|
If you want to check the current environment variables type: env |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Sat Aug 03, 2002 9:37 am Post subject: |
|
|
..and if you want to check the value of a single var instead of every var set in the system, use echo $_VAR_NAME_, e.g:
_________________ There's someone in my head but it's not me - Pink Floyd |
|
Back to top |
|
|
|