|
|
|
|
#1 |
|
Triple-A Player
Join Date: Jul 2006
Posts: 106
|
list of currently used shell variables
Hello all,
is there a (possibly composite) command that outputs all the currently used variable names in the system (i.e. the strings x such that echo $x will not produce a blank output) ? Ewan |
|
|
|
|
|
#2 |
|
Hall of Famer
Join Date: Apr 2002
Posts: 3,315
|
set
set will printout (almost?) every variable [for the shell it's run in]. see help set [we're talkin' bash i assume?] -HI- Last edited by Hal Itosis; 03-02-2007 at 12:47 PM. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|