The Full Wiki

More info on Wall (Unix)

Wall (Unix): Wikis

Advertisements

Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

Encyclopedia

(Redirected to wall (Unix) article)

From Wikipedia, the free encyclopedia

wall is a Unix command line utility. When invoked, it displays the contents of a file or standard input to all logged-in users. Its name is an abbreviation of "write to all".

Invocation

wall is invoked as follows:

foo@foo:~$ wall <filename>

To take standard input as the file, omit the filename. To write the text to send just before, combine it with the "echo" command :

foo@foo:~$ echo text to send |wall

Alternatively, typing wall then enter, typing any text and pressing CTRL + D gives the same result:

foo@foo:~$ wall
text to send
on as many lines as neccesary
^D

Output

When invoked, wall displays the following output:

Broadcast Message from foo@lothlorien
  (/dev/pts/0) at 01:23 ...

This is the message that would be sent.

References

Advertisements

Advertisements






Got something to say? Make a comment.
Your name
Your email address
Message