Unix Shell - How to display a message to all tty?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > November 2006 > How to display a message to all tty?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to display a message to all tty?
Bo Yang

2006-11-22, 1:39 am

First, I am apologized for my last post,
I have now put all my question in my meesage
body, and remove the gpg signature.
Apologize again!

My question is, I want to display some
message to all ttys, How can I achieve
this?

Thanks in advance!
Bruce Barnett

2006-11-22, 1:39 am

Bo Yang <struggle@mail.nankai.edu.cn> writes:

> My question is, I want to display some
> message to all ttys, How can I achieve
> this?



WALL(1) Linux User's Manual WALL(1)

NAME
wall -- send a message to everybody's terminal.

SYNOPSIS
wall [ message ]


--
Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.
Bo Yang

2006-11-22, 1:39 am

Bruce Barnett :
> Bo Yang <struggle@mail.nankai.edu.cn> writes:
>
>
>
> WALL(1) Linux User's Manual WALL(1)
>
> NAME
> wall -- send a message to everybody's terminal.
>
> SYNOPSIS
> wall [ message ]


Thank you!
Adam Price

2006-11-22, 1:39 am

On Wed, 22 Nov 2006 09:42:34 +0800, Bo Yang wrote:

> First, I am apologized for my last post,
> I have now put all my question in my meesage
> body, and remove the gpg signature.
> Apologize again!
>
> My question is, I want to display some
> message to all ttys, How can I achieve
> this?
>
> Thanks in advance!


And the answer is still the same as the last one I gave, use wall.
Adam
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com