Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 1999 15:08:59 -0800 (PST)
From:      David Wolfskill <dhw@whistle.com>
To:        fosterex@uswest.net, freebsd-newbies@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: USA_RESIDENT = YES or NO
Message-ID:  <199912082308.PAA54539@pau-amma.whistle.com>
In-Reply-To: <000801bf41ce$4012b720$0200000a@office1>

next in thread | previous in thread | raw e-mail | index | archive | help
>From: "Stephen Foster" <fosterex@uswest.net>
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912082308.PAA54539>