Skip to Content
Linux Shell Scripting Cookbook - Third Edition
book

Linux Shell Scripting Cookbook - Third Edition

by Clif Flynt, Sarath Lakshman, Shantanu Tushar
May 2017
Beginner
552 pages
28h 47m
English
Packt Publishing
Content preview from Linux Shell Scripting Cookbook - Third Edition

Holding a conversation with another user

The talk command opens an interactive conversation between two users. The syntax for this is $ talk user@host.

The next command initiates a conversation with user2 on their workstation:

    $ talk user2@workstation2.example.com

After typing the talk command, your terminal session is cleared and split into two windows. In one of the windows, you'll see text like this:

    [Waiting for your party to respond]

The person you're trying to talk to will see a message like this:

    Message from Talk_Daemon@workstation1.example.com
    talk: connection requested by user1@workstation.example.com
    talk: respond with talk user1@workstation1.example.com

When they invoke talk, their terminal session will also be cleared ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Shell Scripting - Second Edition

Mastering Linux Shell Scripting - Second Edition

Mokhtar Ebrahim, Andrew Mallett

Publisher Resources

ISBN: 9781785881985