[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 6

wall Command

Purpose

Writes a message to all users that are logged in.

Syntax

wall [ -a ] [ -g Group ][ 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.

Flags

Table 1.
-a Performs the default operation. This flag is provided for System V compatibility. It broadcast messages to the console and pseudo-terminals.
-g Group Broadcasts to a specified group only.

Files

/dev/tty Specifies a device.

Related Information

The mesg command, su command, write command.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]