Using talk command on Server
Talk command is used to communicate other concurrent user currently logged on your machine. This command can be considered as an visual communication program which copies lines from your terminal to that of another user and vice-versa.
Syntax :
talk person [ttyname ]
Argument person :
If you wish to talk to someone on your own machine, then person (argumentr) is just the person’s login name.
If you wish to talk to a user on another host, then person (argument) is of the form ‘user@host’.
Argument ttyname :
When want to talk to a user who is logged in more than once, use ttyname to indicate the appropriate terminal name.
It may be used to indicate the appropriate terminal name, where ttyname is of the form ‘ttyXX’ or ‘pts/X’.
Once communication has been established, the two parties may type simultaneously, with their output appearing in separate windows. Use Ctrl+L to redraw the screen and to exit just type your interrupt char;
If you are busy and you don’t want anybody to disrupts you by such talk request, your may use the command “mesg n” to refuse accepting messages.
You can also use write command which serves the same :
Syntax :
write person [ttyname ] : All arguments are same as that of talk command.
|