[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: net send <name> <text> command?
- From: redhat <redhat fayelectric com>
- To: fedoralist <fedora-list redhat com>
- Subject: Re: net send <name> <text> command?
- Date: Fri, 09 Jan 2004 09:24:16 -0600
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.
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]