Find the answer to your Linux question:
Results 1 to 4 of 4
Is there a way to check who (which users) are logged into the server? Also, is there a way to send a message to all other users logged in? (No ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User ImNeat's Avatar
    Join Date
    Feb 2006
    Location
    N. America
    Posts
    392

    Misc. admin command Q's


    Is there a way to check who (which users) are logged into the server?

    Also, is there a way to send a message to all other users logged in?

    (No x, just command line)
    10" Sony Vaio SRX99P 850MHz P3-M 256MB RAM 20GB HD : ArchLinux
    14" Dell Inspiron 1420N 2GHz Core2Duo 2GB RAM 160GB HD : Xubuntu

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You can use "who" or "w" to check for the users logged into a Unix system. You can use programs like "write" and "talk" to send users messages.

  3. #3
    Linux User ImNeat's Avatar
    Join Date
    Feb 2006
    Location
    N. America
    Posts
    392
    Awesome, thanks!

    How do you exit a "write" session? Don't quite follow the manpage...

    Code:
    When you are done, type an end-of-file or interrupt character.  The other user will
           see the message EOF indicating that the conversation is over.
    ?
    10" Sony Vaio SRX99P 850MHz P3-M 256MB RAM 20GB HD : ArchLinux
    14" Dell Inspiron 1420N 2GHz Core2Duo 2GB RAM 160GB HD : Xubuntu

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    I use CTRL-D to indicate that I have finished typing the message (so CTRL-D is the EOF character). When you enter the EOF character, the message is sent immediately to the other user.

Posting Permissions

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