Re: environment variables and hostname...

2003-11-04 Thread Lowell Gilbert
"Xpression" <[EMAIL PROTECTED]> 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).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: environment variables and hostname...

2003-11-04 Thread Scott Hiemstra
You can use the "env" command to see a list of Environment variables.  On my
system, it doesn't appear the hostname is in there but it may be on yours.

Scott

- Original Message - 
From: "Xpression" <[EMAIL PROTECTED]>
To: "FreeBSD-questions" <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 6:03 AM
Subject: environment variables and hostname...


> 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...
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


environment variables and hostname...

2003-11-04 Thread Xpression
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...

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"