Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ok, so at my house I have three computers, and I frequently enjoy using ssh and scp to run commands that allow me to do wonderful things. Primarily transferring downloaded files, and running media remotely (music, video etc.). Usually I use the arp -a command to determine which other computers are on my network, but this only shows the local IP's. I often forget the users that exist on my other machines, and I would like to be able to:

have a command that shows me the users of a remote computer either by network or IP address

share|improve this question
possibly related: unix.stackexchange.com/questions/20708/… – slm Jun 30 '13 at 5:45

You can use ssh to execute a command the the remote host.
E.g. the w or the who command.

ssh username@otherhost.domain.tld who

share|improve this answer

You can run rwhod on each node. Then run rwho on any node to list users on other nodes.

rwho and rwhod are part of the Linux netkit, so most likely it's already packaged with your distribution. Just install it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.