Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Enviroment Variables Question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sat Aug 03, 2002 2:35 am    Post subject: Enviroment Variables Question Reply with quote

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
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Aug 03, 2002 4:37 am    Post subject: Reply with quote

At a prompt, type set and then hit return.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
binbash
n00b
n00b


Joined: 04 Jul 2002
Posts: 16

PostPosted: Sat Aug 03, 2002 8:34 am    Post subject: Reply with quote

If you want to check the current environment variables type: env
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Sat Aug 03, 2002 9:37 am    Post subject: Reply with quote

..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:
Code:
echo $PATH

_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum