Linux talk Command
The Linux talk command is used to converse with other users.
Permissions: All users.
Syntax
talk person [ttyname]
Parameter Description:
person: The user account you intend to converse with. If the user is on another machine, you can enter [email protected].
ttyname: If the user has more than one tty connection, they can choose the appropriate tty for messaging.
Example
To talk with the user Rollaend on the current machine, where Rollaend has only one connection:
talk Rollaend
Next, wait for Rollaend to respond. If Rollaend accepts, they can start the conversation by typing talk jzlee
. To end the conversation, press ctrl+c.
To talk with the user Rollaend on linuxfab.cx, using pts/2 for the conversation:
talk [email protected] pts/2
Next, wait for Rollaend to respond. If Rollaend accepts, they can start the conversation by typing talk [email protected]
. To end the conversation, press ctrl+c.
Note: If the screen displays abnormal characters, try pressing ctrl+l to refresh the screen.