Date: Wed, 31 Jul 2002 08:05:34 -0500 From: David Kelly <dkelly@hiwaay.net> To: fred@timogen.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Good script to get the IP address from u logon on freebsd Message-ID: <20020731130534.GD57725@grumpy.dyndns.org> In-Reply-To: <038d01c238c2$1bd526c0$7d05a8c0@fred> References: <038d01c238c2$1bd526c0$7d05a8c0@fred>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 31, 2002 at 11:42:54AM -0700, fred@timogen.com wrote:
> Hi,
>
>
> I have a freebsd box, Can someone execute a scripts to print
> the IPAddress where she is from when he logon this machine?
This works well in /bin/sh, I don't know how to do the same as simply in
csh:
echo ${REMOTEHOST:-localhost}
--
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.
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?20020731130534.GD57725>
