In Unix and Unix-like operating systems, write is a utility used to send messages to another user by writing a message directly to another user's TTY.[1]
Original author(s) | Dennis Ritchie, Ken Thompson |
---|---|
Developer(s) | AT&T Bell Laboratories |
Initial release | November 3, 1971 |
Operating system | Unix and Unix-like |
Platform | Cross-platform |
Type | Command |
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/7test
Will show up to the user on that console as:
Message from root@wiki on pts/8 at 11:19 ...test
See also
The Wikibook Guide to Unix has a page on the topic of: Commands
References
🔥 Top keywords: Main PageSpecial:SearchPage 3Wikipedia:Featured picturesHouse of the DragonUEFA Euro 2024Bryson DeChambeauJuneteenthInside Out 2Eid al-AdhaCleopatraDeaths in 2024Merrily We Roll Along (musical)Jonathan GroffJude Bellingham.xxx77th Tony AwardsBridgertonGary PlauchéKylian MbappéDaniel RadcliffeUEFA European Championship2024 ICC Men's T20 World CupUnit 731The Boys (TV series)Rory McIlroyN'Golo KantéUEFA Euro 2020YouTubeRomelu LukakuOpinion polling for the 2024 United Kingdom general electionThe Boys season 4Romania national football teamNicola CoughlanStereophonic (play)Gene WilderErin DarkeAntoine GriezmannProject 2025