Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-24-2004, 09:27 AM   #1
Registered: Oct 2003
Posts: 43

Rep: Reputation: 15
simple question

How to send messages like "M$ net send" from unix/linux (console exacly) to windows?
Old 08-24-2004, 10:17 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
From: 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

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.

See the message command parameter in the smb.conf(5) for a
description of how to handle incoming WinPopup messages in

Note: Copy WinPopup into the startup group on your WfWg PCs if
you want them to always be able to receive messages.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Fluxbox simple question, simple answer? generallimptoes Linux - Software 3 09-26-2005 03:03 PM
Installing Programs - A simple question from my simple mind jmp875 Linux - Newbie 6 02-18-2004 10:03 PM
Hopefully a Simple Question Arcane Kidd Linux - Newbie 5 01-17-2003 05:27 PM
Really Simple Question -- Please help! Cia420 Linux - General 3 05-07-2002 07:42 AM
simple question seeking simple answer enzo250gto Linux - Newbie 1 10-27-2001 05:08 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration