From owner-freebsd-questions Sun Nov 5 10:12:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from envy.geekhouse.net (envy.geekhouse.net [64.81.6.50]) by hub.freebsd.org (Postfix) with ESMTP id 7F4F637B479 for ; Sun, 5 Nov 2000 10:12:42 -0800 (PST) Received: (from jim@localhost) by envy.geekhouse.net (8.11.1/8.11.1) id eA5ICTr02857; Sun, 5 Nov 2000 10:12:29 -0800 (PST) (envelope-from jim) Date: Sun, 5 Nov 2000 10:12:28 -0800 From: Jim Mock To: Drew Tomlinson Cc: "FreeBSD Questions (E-mail)" Subject: Re: How to Show Environment Variables Message-ID: <20001105101228.A2642@envy.geekhouse.net> Reply-To: jim@lust.geekhouse.net References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: ; from drewt@writeme.com on Sun, Nov 05, 2000 at 08:29:18AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 05 Nov 2000 at 08:29:18 -0800, Drew Tomlinson wrote: > I'm looking through both the man pages and The Complete FreeBSD but > can not locate the command to show what a environment variable is > currently set. My shell is tcsh and I have found the 'setenv' > command. I've tried this with no success (i.e., 'setenv PATH'). You can use one of two things. Using env will give show you every variable currently set. Using echo $VARIABLE will show you that variable. For example, echo $PATH, or echo $SHELL. > I would also like to know how to show the current system time. I've > found the 'time' command but this doesn't appear to be what I want. You want the man page for date. > Is there a web page somewhere that lists some of these simple > commands? http://www.FreeBSD.org/tutorials/new-users/ has some of them listed along with what they do. - jim -- jim mock work: jim@osd.bsdi.com | jim@FreeBSD.org http://soupnazi.org/ BSDi Open Source Div | http://bsdi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message