Trilight Zone Forum Index Trilight Zone
Privacy & Anonymity is our specialty !
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FreeBSD : Sending a Message to Windows Workstation

 
Post new topic   Reply to topic    Trilight Zone Forum Index -> Other Unix
Author Message
thedark
Second Lieutenant


Joined: 30 Jul 2005
Posts: 1074

PostPosted: Sun Jul 31, 2005 7:57 am    Post subject: FreeBSD : Sending a Message to Windows Workstation Reply with quote

You can use the utility smbclient (part of samba server) to send a message to windows system from FreeBSD (or even from Linux/Solaris/UNIX).

Genral syntax of to send a message is as follows:
smbclient –M <WINDOW-SYSTEM-NAME> <<EOF
Message
Message

When the message is complete, press Control-D.

1) To send a message “Meeting cancelled” to windows system called joyxp
$ smbclient –M joyxp <<EOF
Meeting cancelled
See you at coffee house in 2 hrs.
--Vivek
EOF


2) With –U you can specify the username.
$ smbclient -M myxp -U VIVEK <<EOF
Meeting cancelled
See you at coffee house in 2 hrs.
EOF
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Trilight Zone Forum Index -> Other Unix All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group