Date: 04 Nov 2003 09:20:20 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: "Xpression" <admin@atenas.cult.cu> Cc: FreeBSD-questions <questions@FreeBSD.ORG> Subject: Re: environment variables and hostname... Message-ID: <44ad7cdxln.fsf@be-well.ilk.org> In-Reply-To: <000d01c3a2dc$7db318e0$0801a8c0@bloodlust> References: <000d01c3a2dc$7db318e0$0801a8c0@bloodlust>
next in thread | previous in thread | raw e-mail | index | archive | help
"Xpression" <admin@atenas.cult.cu> writes: > Hi list, there is a way to list or know the environment variables, > in fact, I want to know if my hostname is stored in a variable, and all > variables that maintain the system...thanks... How to get the environment variable list depends on your shell. On sh-style shells, it's usually "set". On csh-style shells, I think it's "env". But for getting your hostname, the canonical method is hostname(1).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ad7cdxln.fsf>