net send <name> <text> command?

redhat redhat at fayelectric.com
Fri Jan 9 15:24:16 UTC 2004


This is all quite intriguing to me but how does a Windows user reply to
the net_sent command back to the Linux box?
thanks,
DF

On Wed, 2004-01-07 at 19:00, Rob Park wrote:
> Jani Ollikainen wrote:
> >># net_sent MACHINE What about Pizza?
> > 
> > $0=net_sent
> > $1=MACHINE
> > $2=What
> > $3=about
> > ..
> > 
> > So you have use quotes with the message.
> > 
> > $ net_sent MACHINE "What about Beer?"
> 
> You could change the script to this:
> 
> #!/bin/bash
> machine=$1
> shift
> echo $@ | smbclient -M $machine
> 
> Then you no longer have to quote the message text.
> 





More information about the fedora-list mailing list