From owner-freebsd-questions Sun Nov 5 12:33: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from rush.telenordia.se (mail.telenordia.se [194.213.64.42]) by hub.freebsd.org (Postfix) with SMTP id 68B2337B479 for ; Sun, 5 Nov 2000 12:33:07 -0800 (PST) Received: (qmail 21312 invoked from network); 5 Nov 2000 21:33:00 +0100 Received: from bb-62-5-7-17.bb.tninet.se (HELO marbsd.tninet.se) (62.5.7.17) by mail.telenordia.se with SMTP; 5 Nov 2000 21:33:00 +0100 From: Mark Rowlands Date: Sun, 5 Nov 2000 21:27:42 +0000 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" Cc: "FreeBSD Questions (E-mail)" To: Jim Mock References: <20001105101228.A2642@envy.geekhouse.net> In-Reply-To: <20001105101228.A2642@envy.geekhouse.net> Subject: Re: How to Show Environment Variables MIME-Version: 1.0 Message-Id: <00110521274300.03057@marbsd.tninet.se> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday 05 November 2000 18:12, Jim Mock wrote: > 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://62.5.7.17:8000/'nix%20stuuf/unix.txt might help To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message