LinuxCommandLibrary

wall

Broadcast messages to all logged-in users

TLDR

Send a message to all logged-in users

$ wall [message]
copy
Send a message to a specific group
$ wall -g [group_name] [message]
copy
Send a message from a file
$ wall [file]
copy
Send a message with timeout
$ wall -t [seconds] [file]
copy

SYNOPSIS

wall [options] [message | file]

DESCRIPTION

wall (write all) displays a message or the contents of a file on the terminals of all currently logged-in users. This is typically used by system administrators for system-wide announcements like pending shutdowns.
Messages are preceded by a banner showing the sender and time.

PARAMETERS

-g, --group _group_

Send only to members of the specified group
-n, --nobanner
Suppress the banner
-t, --timeout _seconds_
Timeout for writing to terminals (default 300)

CAVEATS

Users can use mesg n to prevent receiving wall messages. Only root can override this. Messages may interrupt terminal sessions.

SEE ALSO

write(1), mesg(1), talk(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community