Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox

Wall command

From NetworkCommands


Image:Tux_64x64.png

A command available on most Linux platforms; used to send instant messages to other console/terminal users connected to the system.

Contents

Image:Vm-power-on-medium.png Usage Syntax

wall [-n] [message]

The only option is;

  • -n - Change the normal banner printed by wall to "Remote broadcast message". This option can only be used by root.

A single line message can be specified along with the command or by entering just the command name and pressing [RETURN], the message will then be read from standard input.

Image:Vm-power-on-medium.png Usage Examples

wall - send a message to all other console/terminal users, read message from standard input

wall testing testing - send message testing testing to all other console/terminal users

wall testing\!\! testing\!\! - send message testing!! testing!! to all other console/terminal users

wall < test.txt - send a message to all other console/terminal users, read message from file: test.txt

Image:accessories-text-editor-v2-medium.png Usage Notes

The standard banner printed is as follows;

Broadcast message from username (pts/3) (Tue Sep  2 16:59:21 2008):

To enter a multi-line message simply enter the wall command without any options or parameters, you can then enter up to 20 lines of text. Use [CTRL]+D to indicate the end of the message.

Message length is limited to 20 lines

Image:accessories-text-editor-v2-medium.png Linux Usage Notes

With most Linux or Unix commands;

  • Brief help can be displayed using the option/keyword: -h or --help, for example: chmod --help
  • A full command manual can be displayed using the man command followed by the command name, for example: man chmod
  • Sometimes 'info' pages are used instead of or to provide more information than man pages; for example: info chmod
  • Version information can be display using the option/keyword: -v or --version, for example: chmod --version


Image:Folder-medium.png Related Files

The wall executable is normally found here: /usr/bin/wall

Image:icemon-medium.png Related Commands

The mesg command can be used to enable or disable write access to a console/terminal and thus enable or disable whether messages sent by wall are received at your console/terminal.

Image:object-flip-horizontal-medium.png Command Equivalents

The Cisco command equivalent is the send command Image:Cisco-logo-small.png

Image:icemon-medium.png Related Articles

Information on other Linux commands Image:Tux-small.png

Information on F5 BigIP commands Image:F5-logo-small.png

Information on Cisco commands Image:Cisco-logo-small.png

Information on Vyatta commands Image:Vyatta-logo-small.png

Information on Extreme commands Image:Extreme-logo-small.png

Information on Zebra commands

Information on Secure Platform commands

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to steve#networkstuff.eu (replacing the # with an @)



Site Toolbox:

Personal tools
This page was last modified on 2 September 2008, at 17:44. - This page has been accessed 13 times. - Disclaimers - About NetworkCommands
Powered by MediaWiki