Hi
I want to make a script that prints/echos a message on all open terminals (virtual?) for all users. Like the halt does; a systewide message is printed.
How do I achieve this? Thanks!
Hi
I want to make a script that prints/echos a message on all open terminals (virtual?) for all users. Like the halt does; a systewide message is printed.
How do I achieve this? Thanks!
Old Unix, not apple specific, but have you looked at the manual page for the wall command?
Try:
Code:echo "This is a test." | wall
MBPro2,1 15" 2.33C2D Oct06 -rEFIt OS10.6/XP/LinuxMint
PowerBook 12" 1.0 G4 PPC OS10.4/Debian Lenny - BCM4306(rev03) WPA works
Shuttle XPC 3.3 c2D -grub Win7-64/ArchLinux-amd64
Many VM's
Bookmarks