On Wed, 10 Mar 2004 18:29, Andy George wrote:
> 1> Is there a way that I can make the REMOTE machine on an SSH connection
> beep? To attract the attention of the machines owner?
bit difficult. off the top of my head try:-
remote machine
nc -l -p 6789 > /dev/tty
local machine
echo -en "\a" | nc remote 6789
Might work, but note GPL warrentee :-)
> 2> How do you issue console messages, from one tty session to another
NAME
write - send a message to another user
SYNOPSIS
write user [ttyname]
DESCRIPTION
Write allows you to communicate with other users, by copying lines from
your terminal to theirs.
> or one tty session to ALL
NAME
wall -- send a message to everybody's terminal.
SYNOPSIS
wall [ message ]
DESCRIPTION
Wall sends a message to everybody logged in with their mesg(1) permis-
sion set to yes. The message can be given as an argument to wall, or it
can be sent to wall's standard input. When using the standard input
from a terminal, the message should be terminated with the EOF key
(usually Control-D).
Both will work, promise.
--
Sincerely etc.
Christopher Sawtell
NB. This PC runs Linux. If you find a virus apparently from me,
it has forged the e-mail headers on someone else's machine.
Please do not notify me when this occurs. Thanks.