Source From Here
Question
Is there any command to send messages through the Linux shell to other people on the same network? I'm using write user and then write the message itself. But there's any command that doesn't show my username or that i'm trying to message them. The command I'm using will show this to the user I'm trying to contact (code taken from the web):
How-To
The only straightforward way I know of doing this is to use the wall command. This can be used to omit the sender's identification, via the -n switch.
using echo
This alternative method is more of a hack, since it isn't done through an explicit tool but you can echo text out to a users' terminal assuming you know which one they're on. For example:
Question
Is there any command to send messages through the Linux shell to other people on the same network? I'm using write user and then write the message itself. But there's any command that doesn't show my username or that i'm trying to message them. The command I'm using will show this to the user I'm trying to contact (code taken from the web):
How-To
The only straightforward way I know of doing this is to use the wall command. This can be used to omit the sender's identification, via the -n switch.
using echo
This alternative method is more of a hack, since it isn't done through an explicit tool but you can echo text out to a users' terminal assuming you know which one they're on. For example:
沒有留言:
張貼留言