example of complete usage:
echo "hello" > smbclient -M WINMACHINE
bye
DaVe
FYI: open terminal then "man smbclient"
----
-M NetBIOS name
This options allows you to send messages, using the "WinPopup" protocol, to another computer. Once a connection is established you then type your message, pressing ^D (control-D) to end.
If the receiving computer is running WinPopup the user will receive the message and probably a beep. If they are not running WinPopup the message will be lost, and no error message will occur.
The message is also automatically truncated if the message is over 1600 bytes, as this is the limit of the protocol.
One useful trick is to cat the message through smbclient. For example:
cat mymessage.txt | smbclient -M FRED
will send the message in the file mymessage.txt to the machine FRED.
You may also find the -U and -I options useful, as they allow you to control the FROM and TO parts of the message.
-----