Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux General

Linux General Any questions that are not covered by other forums go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-06-2008, 06:53 PM
Member
 
Join Date: Jan 2007
Posts: 96
Prog is on a distinguished road
Default See Exports

Is it possible to see a list of all system variables and what their values are? The variables are the ones where you can do "SET something=something" and then you can do 'echo something'.
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 02-07-2008, 05:56 AM
Super Moderator
 
Join Date: Dec 2007
Location: Denmark
Posts: 273
v0id is on a distinguished road
Send a message via MSN to v0id
Default

You can use env.
Code:
$ env

   # You can append the grep statement to search in the list
$ env | grep "specificvariable"

   # And you can also use env to remove variables
$ env --unset=VARIABLENAME
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 01:47 PM
Member
 
Join Date: Jan 2007
Posts: 96
Prog is on a distinguished road
Default

That works, thank you.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:41 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.