Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990913122035.A15670@ba.best.com> Date: Mon, 13 Sep 1999 12:20:35 -0400 From: Glenn Spell To: "cygwin AT sourceware DOT cygnus DOT com" Subject: Re: Printing the environment table Mail-Followup-To: "cygwin AT sourceware DOT cygnus DOT com" References: <19990913124126 DOT 19577 DOT rocketmail AT web126 DOT yahoomail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990913124126.19577.rocketmail@web126.yahoomail.com>; from "Earnie Boyd" on Mon, Sep 13, 1999 at 05:41AM Organization: the aerie On 13 Sep 1999 around 5:41AM (-0700) Earnie Boyd wrote: > --- Clark Sims 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 ) >-----._/_/__]> )________________________________________) `0 | -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com