#! /usr/bin/perl -w use strict; open MSG, "|/usr/bin/wall" or die "Failed to open pipe to wall"; print MSG "This is message 1.\n"; print MSG "This is message 2.\n"; close MSG;
Also check the 'wall' man page for more info.
-Nitrox
In reply to Re: Printing a Message to All Consoles
by Nitrox
in thread Printing a Message to All Consoles
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |