Linux talk command

Linux 命令大全Linux Command Encyclopedia

The Linux talk command is used to chat with other users.

Permission: All users.

Syntax

talk person [ttyname]

Parameter Description:

  • person: The account of the user you intend to talk to. If the user is on another machine, you can enter person@machine.name
  • ttyname: If the user has more than one tty connection at the same time, you can choose an appropriate tty to send messages.

Examples

Talk to user Rollaend on the current machine. At this time, Rollaend has only one connection.

talk Rollaend

Next, wait for Rollaend's response. If Rollaend accepts, Rollaend enters `talk jzlee` to start the conversation. Press ctrl+c to end.

Talk to user Rollaend on linuxfab.cx, using pts/2 for the conversation.

talk Rollaend@linuxfab.cx pts/2

Next, wait for Rollaend's response. If Rollaend accepts, Rollaend enters `talk jzlee@jzlee.home` to start the conversation. Press ctrl+c to end.

Note:If abnormal characters appear on the screen, try pressing ctrl+l to refresh the screen.

Linux 命令大全Linux Command Encyclopedia

Other extensions