Divi WordPress Theme

Topic: How to broadcast message via SSH on Linux  (Read 8010 times)

Offline HRamesh

  • New Member
  • *
  • Posts: 34
  • iTrader: +0/-0
    • View Profile
How to broadcast message via SSH on Linux
« on: December 03, 2008, 10:20:43 PM »
Hi,

How can I broadcast message via SSH? Can someone provide me the command to broadcast message?

Thanks,

Ramesh
VPS Hosting - AccuWebHosting

Offline Kailash

  • Web Hosting Master
  • *****
  • Administrator
  • Posts: 604
  • iTrader: +153/-0
    • View Profile
Re: How to broadcast message via SSH on Linux
« Reply #1 on: December 04, 2008, 01:05:08 AM »
wall command is used to broadcast a message via ssh.
Code: [Select]
$root@server1 wall this is test
If you have multiple lines in message, you can do it as follow:

Code: [Select]
$root@server1 wall<&ltEOF
your messag1
your message2

EOF

Kailash
Divi WordPress Theme
Tags: