Linux ytalk command
The Linux ytalk command is used to chat with other users.
With the ytalk command, you can chat online with other users; to chat with a user on another host, simply add the host name or IP address after the username.
Syntax
ytalk [-isxY][-h<主机名称IP地址>][用户名称...]
Parameter Description:
- -h<
: specifies the remote host where the chat partner is located. - -i uses a bell sound instead of displaying the message.
- -s opens the ytalk chat window before the command prompt.
- -x disables the graphical interface.
- -Y requires all questions that must be answered yes or no to be answered with the uppercase letters "Y" or "N".
Example
Send the message
# who //显示当前用户
root :0 Apr 9 20:17
root pts/1 Apr 9 20:17
w3c pts/6 May 27 16:47 (192.168.0.1)
root pts/2 May 27 17:37 (192.168.0.1)
# ytalk w3c //send message
hey
Linux Command Reference