InMotion Hosting Support Center

As a VPS or Dedicated Server account owner, you may want to check to see who is actively online and send a broadcast message to them. The short article below takes you through using the who and wall commands. Neither command requires root access.

How to see who is logged in

  1. log into your account via SSH
  2. Run the who command from the command prompt. This will list anyone who is currently logged in.
    # who

    You should receive some output similar to the sample below. As you can see, the users root and bradm are logged in.
    root     pts/2        2013-01-25 12:53
    bradm    pts/3        2013-01-25 12:58

How to send a message to online users

Once you know who is logged into your server, you can send a message to them by using the wall command.
# wall
   This is a message
   <ctrl-d>

The users, including the sender, will see the message like the below sample.
Broadcast message from root (pts/2) (Fri Jan 25 12:52:25 2013):
This is a message

Support Center Login

Social Media Login

   
Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!