net send <name> <text> command?
Christoph Wickert
christoph.wickert at web.de
Wed Jan 7 13:40:04 UTC 2004
Am Mi, den 07.01.2004 schrieb Jani Ollikainen um 12:43:
> On Wed, Jan 07, 2004 at 12:21:31AM +0100, Christoph Wickert wrote:
> > I've made a little script called net_send, to keep the command syntax
>
> Which doesn't work like you told.
>
> > #!/bin/sh
> > echo $2 | smbclient -M $1
>
> > # 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 are right, thanks for correcting me! And of course beer is better
than Pizza :-)
Christoph
More information about the fedora-list
mailing list