rwall

rwall

The rwall command is a Linux command that can be used to send a message to all users on a system. It is a powerful tool that can be used to notify users of important events or to broadcast messages to a large group of people.

Here are some examples of how to use the rwall command:

# To send a message to all users:
rwall "This is a message to all users."

# To send a message to only users who are logged in:
rwall -n "This is a message to only users who are logged in."

# To send a message to users who are logged in to a specific terminal:
rwall -t tty1 "This is a message to users who are logged in to tty1."

# To send a message to users who are logged in to a specific IP address:
rwall -i 192.168.1.100 "This is a message to users who are logged in to 192.168.1.100."

The rwall command is a powerful tool that can be used to notify users of important events or to broadcast messages to a large group of people. It is a simple command to use, but it can be very effective.

help

rwall [options] message

Send a message to all users logged on the system.

Options:

-h, --help        show this help message
-n, --nowall      only send message to users who are logged in
-t, --tty        send message to users logged in on the specified terminal
-i, --ip         send message to users logged in on the specified IP address

For more information, see the rwall man page

Last updated