From owner-freebsd-questions Wed Dec 8 15: 9:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pau-amma.whistle.com (pau-amma.whistle.com [207.76.205.64]) by hub.freebsd.org (Postfix) with ESMTP id 476AF1528E; Wed, 8 Dec 1999 15:09:01 -0800 (PST) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.9.2/8.9.2) id PAA54539; Wed, 8 Dec 1999 15:08:59 -0800 (PST) Date: Wed, 8 Dec 1999 15:08:59 -0800 (PST) From: David Wolfskill Message-Id: <199912082308.PAA54539@pau-amma.whistle.com> To: fosterex@uswest.net, freebsd-newbies@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: USA_RESIDENT = YES or NO In-Reply-To: <000801bf41ce$4012b720$0200000a@office1> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From: "Stephen Foster" >Date: Wed, 8 Dec 1999 15:47:47 -0700 [Including -questions, since it's probably better-suited for that list; leaving -newbies, so folks will have a clue as to what happened. dhw] >How do I change the variable for USA_RESIDENT =3D NO to USA_RESIDENT =3D = >YES in FreeBSD 3.3? That isn't so much an operating system issue as an issue of what shell you're using. Those strings are called "environment variables", and they are maintained by the "shell" (the process that reads the commands that you type and does something with them). There are a couple of major "families" of shells in common use nowadays: * Bourne shell (and other shells that use its syntax): sh, ksh, (bash?) * C shell (and descendants): csh, tcsh. (There are other shells around, but these are the more common ones.) If you use one of the former set, you type export USA_RESIDENT; USA_RESIDENT=YES (or, at least in ksh, you can enter both as a single command as "export USA_RESIDENT=YES"). If you use one of the latter, "setenv USA_RESIDENT YES" is the appropriate incantation. The information, in any case, ought to be available in the "man page" for the shell you are using at the time. Cheers, david -- David Wolfskill dhw@whistle.com UNIX System Administrator voice: (650) 577-7158 pager: (888) 347-0197 FAX: (650) 372-5915 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message