[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 6

wall Command

Purpose

Writes a message to all users that are logged in.

Syntax

wall Message ]

Description

The wall command writes a message to all users that are logged in. If the Message parameter is not specified, the wall command reads the message from standard input until it reaches an end-of-file character. The message is then sent to all logged in users. The following heading precedes the message:

Broadcast message from 
user@node

 (tty) at hh:mm:ss ...

hh:mm:ss represents the hours, minutes, and seconds when the message was sent.

To override any protections set up by other users, you must operate with root user authority. Typically, the root user uses the wall command to warn all other users of an impending system shutdown.

Notes:
  1. The wall command only sends messages to the local node.
  2. Messages can contain multibyte characters.

Files

/dev/tty Specifies a device.

Related Information

The mesg command, su command, write command.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]