On Wednesday 20 Nov 2002 10:13 pm, Javier Gostling wrote:
> On Wed, Nov 20, 2002 at 02:09:20PM -0700, Joe Giles wrote:
> > List,
> > Is there a way to send a basic text message to a Windows user from a
> > Linux machine on the same LAN?
> >
> > Like you can do with windows using WinPopup
>
> smbclient -M <winhost>
>
> Type your message and finnish with Control-D
>
> Cheers,

or, as can be quite usefull if like me, you run a number of headless servers 
you can put something like:

echo $mysucessmessage|smbcliemt -M $monitor

in your Bash scripts. Perl obviously works this way too.  Personally I like to 
use the open pipe method like:

open(SMB,"|smbclient -M $monitor") || die "can't open pipe: $!\n";
-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to