Toon posts:

NET SEND

Pagina: 1
Acties:
  • 41 views sinds 30-01-2008

Verwijderd

Topicstarter
Vraagje bestaat er zoiets als net send van windows in linux

dat ik vanaf de shell een bericht naar een windows pc kan sturen

met windows kan dit met NET SEND USER MESSAGE maar hoe met linux (redhat)?

Verwijderd

Google? Ik kom met search term "net send" en "linux" en "samba" uit op bv. http://www.winnetmag.com/Articles/Index.cfm?ArticleID=8897, welke jouw vraag behandelt. :).
Sending Messages to Workstations
You might know the Net Send command, which lets you send realtime, pop-up messages to machines on a Microsoft network. The command

net send jane hi there!

causes a box containing the words "hi there!" to pop up on Jane's machine. You can direct the Net Send command to machine names as well as to usernames, so if Jane's machine is named \\PC004, you could as easily type

net send pc004 hi there!

Smbclient performs this task with the -M option. The command smbclient -M pc004 establishes contact with \\PC004 and waits for you to type your message. When you end the message (by pressing Ctrl+D), smbclient sends it. As with many UNIX and Linux commands, the option's case is significant—the -M option must be uppercase.

  • Wilke
  • Registratie: December 2000
  • Laatst online: 10-05 22:17
Juist, en aangezien dit ook gewoon in 'man smbclient' staat doe ik dit topic dicht - je moet inderdaad wel even op het idee komen dat het met smbclient moet natuurlijk, maar dan is het verder niet ingewikkeld ofzo (en dit is trouwens ook prima uit te vinden met google)!

Succes ermee :)

Dit topic is gesloten.