Messaging

talk

Simple chat program.

write

Send messages to a terminal.

mesg

Prohibit talk and write.

tty

Print your terminal device name.

Long before instant messaging and texting was invented, users sent messages to each other with older commands that still exist in OS X. These include talk and write, which work over OS X terminal devices (ttys). This style of communication may seem primitive, but occasionally it can be useful, particularly in pipelines.

Get Macintosh Terminal Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.