在 UNIX 中,如何通过 IP 地址向同一网络上的另一个 UNIX 机器发送消息?

发布于 2024-09-12 05:07:46 字数 1461 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

他是夢罘是命 2024-09-19 05:07:46

查找“talk”、“ntalk”和“ytalk”。这些是最接近的。幸运的是,大多数 Unix 机器默认情况下没有运行这样的守护进程,甚至 Windows 在意识到它有多么烦人后,也敏感地默认禁用了该服务。

Look up "talk," "ntalk" and "ytalk." Those are the closest. Fortunately, most Unix machines have no such daemon running by default, and even Windows had the sensibility to disable this service by default after they realized how annoying it is.

陌伤ぢ 2024-09-19 05:07:46

smbclient -M 目的地主机 -U my-host -n my-host

更多信息请参见: http: //www.yolinux.com/TUTORIALS/unix_for_dos_users.html

希望它

也有帮助,尝试“talk”命令。 (talkd也值得研究)

smbclient -M destination-host -U my-host -n my-host

more info here: http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html

hope it helps

also, try the "talk" command. (talkd is worth looking into too)

妄想挽回 2024-09-19 05:07:46

考虑到您的严格要求(默认安装等),这最接近:

DISPLAY=otherip:0.0 xterm -e "/bin/echo \"Hey what's up?\"; /bin/sleep 9999"

given your strict requirements (default install etc) this comes closest:

DISPLAY=otherip:0.0 xterm -e "/bin/echo \"Hey what's up?\"; /bin/sleep 9999"
时光礼记 2024-09-19 05:07:46

Unix 从一开始就是多用户的,因此您必须指定要向目标计算机上的哪个用户发送消息。那么该命令曾经是rwrite,但它几乎消失了。 talk(或 ytalkntalketalk)会让对方回复,但现在即时消息已不再通过集中管理的身份(AIM、Jabber、Skype 等)而不是在机器对机器的基础上。

Unix was multiuser from the start, so you'd have to specify which user on the target machine you want to message. Then the command would once have been rwrite, but it's all but disappeared. talk (or ytalk, ntalk, etalk) would let the other person reply, but these days instant messaging goes via a centrally managed identity (AIM, Jabber, Skype, etc.) rather than on a machine-to-machine basis.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文