[UCLA-LUG] help please

witten@linux.ucla.edu witten@linux.ucla.edu
Tue, 1 Feb 2000 11:58:45 -0800


On Tue, Feb 01, 2000 at 08:02:03AM -0800, Tigran wrote:
> Is there a command to find out the ip address of a user who is telneting 
> into the server and then set a variable to that ip so that it can be used 
> for other stuff later.
> 
> Thanks
> 

You can use the netstat command for this. If you want to grab the IP address
and put it in a variable, I recommend writing a bash or Perl script to do
just that.

-- 
Dan Helfman
UCLA Linux Users Group: http://www.linux.ucla.edu
My GnuPG key: http://torsion.org/witten/public-key.txt