I can see the names of other users on the remote machine with the who
command... I'd also like know the IP address of those users...
I was trying with the commands /sbin/ifconfing
and netstat
but I could not get positive results...
I need this solution compatible both with Linux and Unix...
Is there a command with that utility? Do I need to write a script or use a kind of pipes?
who
doesn't tell you about users on the same network, just users logged in to the same machine as you. – jw013 Nov 10 '11 at 04:39who
gives me my origin machine name on both linux and solaris (last field, between parenthesis, when logged in locally from X I get the X display). Getting the IP from that should be easy (nslookup
,host
) – AProgrammer Nov 10 '11 at 09:12