write (Unix)

From Wikipedia, the free encyclopedia

Template:Short description Script error: No such module "about".

Page Module:Message box/ambox.css has no content.

Page Module:Infobox/styles.css has no content.

write
[[Programmer|Original authorTemplate:Pluralize from text]]Dennis Ritchie,
Ken Thompson
[[Programmer|DeveloperTemplate:Pluralize from text]]AT&T Bell Laboratories
Initial releaseNovember 3, 1971; 54 years ago (1971-11-03)
Template:Infobox software/simple
EnginePage Template:Plainlist/styles.css has no content.Template:EditAtWikidata
Operating systemUnix and Unix-like
PlatformCross-platform
TypeCommand
WebsiteScript error: No such module "WikidataIB".
RepositoryPage Template:Plainlist/styles.css has no content.

Script error: No such module "Check for conflicting parameters".

In Unix and Unix-like operating systems, Page Template:Mono/styles.css has no content.write is a utility used to send messages to another user by writing a message directly to another user's TTY.[1]

History

The write command was included in the First Edition of the Research Unix operating system.[2] A similar command appeared in Compatible Time-Sharing System.[3]

Sample usage

The syntax for the write command is:

$ write user [tty]
message

The write session is terminated by sending EOF, which can be done by pressing Ctrl+D. The tty argument is only necessary when a user is logged into more than one terminal.[4]

A conversation initiated between two users on the same machine:

$ write root pts/7
Hello!

Will show up to the user on that console as:

Message from root@wiki on pts/8 at 11:19 ...
Hello!

See also

Page Module:Side box/styles.css has no content.Page Template:Sister project/styles.css has no content.

References

Page Template:Reflist/styles.css has no content.

  1. ^ Template:Man
  2. ^ Page Module:Citation/CS1/styles.css has no content.Unix Programmer's Manual (PDF) (1st ed.). Bell Labs. 3 November 1971. p. write(1). Archived from the original (PDF) on 9 July 2016. Retrieved 9 July 2016.
  3. ^ Page Module:Citation/CS1/styles.css has no content.Fetter, Mirko (2019). New Concepts for Presence and Availability in Ubiquitous and Mobile Computing. University of Bamberg Press. p. 38. ISBN 9783863096236. The basic concept of sending instantaneously messages to logged in users came with ... CTSS ...
  4. ^ Page Module:Citation/CS1/styles.css has no content."write(1) – util-linux man page". Archived from the original on 2025-12-03. Retrieved 2026-02-03.

Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.