Find the answer to your Linux question:
Results 1 to 2 of 2
Does anyonw know how to get the username logged in a given IP in a network? Thanks in advance for some help....
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    1

    Question User Logged at an IP

    Does anyonw know how to get the username logged in a given IP in a network?

    Thanks in advance for some help.

  2. #2
    Linux Newbie
    Join Date
    Nov 2007
    Location
    Planet Earth
    Posts
    152
    Code:
    $ netstat -te --numeric-hosts | grep the_ip
    will show the active connections in the given IP (including the owner of the socket). Check the man of netstat, contains very useful options.

    Hugo
    Last edited by hugortega; 10-28-2009 at 04:03 PM.
    EOF

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...