| delorie.com/archives/browse.cgi | search |
On 13 Sep 1999 around 5:41AM (-0700) Earnie Boyd wrote:
> --- Clark Sims <clarksimsgnu AT my-Deja DOT com> wrote:
>
> > Is there a way to pring all of the variables in the environment
> > table. The DOS equivalent command is SET. I tried echo $*, but
> > this does not work.
>
> Did you try `set'?
'set' (in bash and ash) displays all shell/process variables.
BASH.EXE-2.03$ type set
set is a shell builtin
BASH.EXE-2.03$ help set
set: set [--abefhkmnptuvxBCHP] [-o option] [arg ...]
[lots of stuff deleted]
If no
ARGs are given, all shell variables are printed.
'printenv' displays all environment variables.
BASH.EXE-2.03$ type printenv
printenv is /CYGNUS/CYGWIN~1/H-I586~1/BIN/printenv
BASH.EXE-2.03$ printenv --help
Usage: printenv [OPTION]... [VARIABLE]...
If no environment VARIABLE specified, print them all.
-glenn
--
________________________________________ _ _____
) )_ _ (__\____o /_/_ |
) Glenn Spell <glenn AT gs DOT fay DOT nc DOT us> ) >-----._/_/__]>
)________________________________________) `0 |
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |