net send <name> <text> command?
Jani Ollikainen
k0001744 at evtek.fi
Wed Jan 7 11:43:17 UTC 2004
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?"
--
Jani Ollikainen http://iki.fi/bestis/
More information about the fedora-list
mailing list