Linux talk Command
The Linux talk command is used to chat with other users.
Permissions required: all users.
Syntax
talk person [ttyname]
Parameter Description:
- person: The account name of the user to chat with; if the user is on another machine, enter person@machine.name
- ttyname: If a user has more than two tty connections, they can choose an appropriate tty to send messages on
Example
Chat with user Rollaend on the current machine, who has only one connection
talk Rollaend
Then wait for Rollaend to respond; if Rollaend accepts, they type talk jzleeto start the chat; press ctrl+c to end it
Chat with user Rollaend on linuxfab.cx using pts/2
talk Rollaend@linuxfab.cx pts/2
Then wait for Rollaend to respond; if Rollaend accepts, they type talk jzlee@jzlee.hometo start the chat; press ctrl+c to end it
** Note: ** If the screen shows abnormal characters, try pressing ctrl+l to refresh the screen.
Linux Command Reference