Find the answer to your Linux question:
Results 1 to 4 of 4
Is it possible to acquire the user who is logged onto a specific host, as you can in windows with the psloggedon ( http://www.microsoft.com/technet/sys...sloggedon.mspx ) command? Many thanks, Ed Ludlow...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4

    Getting user logged onto specific host


    Is it possible to acquire the user who is logged onto a specific host, as you can in windows with the psloggedon (http://www.microsoft.com/technet/sys...sloggedon.mspx) command?

    Many thanks,
    Ed Ludlow

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,847
    Use the 'who' command from the command line.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    Thanks - but how would this be done for a remote PC?

    Thanks,
    E

  4. #4
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,847
    SSH (or, if you must, and it's a secure lan, telnet) into the machine and at the command prompt it gives you, type 'who'.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

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