Write (Unix)

Write (Unix)

write can refer to several Unix commands. All known variations of write are used to write messages to another user. The most popular variation sends a message directly to another user's TTY

Usage

The correct 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.

Example

A conversation initiated between two users on the same machine:

11:19 AM# write root pts/7 test

Will show up to the user on that console as:

Message from root@punch on pts/8 at 11:19 ... test

History

A version of the write command appeared in the First Edition of the Research Unix operating system. Another variation of write writes a message to a user on a Windows network, using the SMB packet format.

Programmer's Workbench UNIX contained a program wall that wrote a message to all users in the same way.

ee also

*List of Unix programs
*talk command

External links

*man|1|write|Linux|send a message to another user


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Write (UNIX) — write unix утилита, позволяющая отправить сообщение другому пользователю, который имеет сессию в этой же системе. В отличие от утилиты talk, переписка посредством write возможна только в пределах одной системы. Содержание 1 Использование 2 Этикет …   Википедия

  • Write — Эта статья об утилите Unix; о текстовом редакторе компании Microsoft, см.: Windows Write write unix утилита, позволяющая отправить сообщение другому пользователю, который имеет сессию в этой же системе. В отличие от утилиты talk, переписка… …   Википедия

  • write — Эта статья об утилите Unix; о текстовом редакторе компании Microsoft, см.: Windows Write write  unix утилита, позволяющая отправить сообщение другому пользователю, который имеет сессию в этой же системе. В отличие от утилиты talk, переписка… …   Википедия

  • Unix security — Unix security: maintaining a secure environment on Unix and Unix like operating systems is dependent on design concepts of these operating systems, but vigilance through user and administrative techniques is important to maintain security… …   Wikipedia

  • Unix — (officially trademarked as UNIX, sometimes also written as Unix with small caps) is a computer operating system originally developed in 1969 by a group of AT T employees at Bell Labs, including Ken Thompson, Dennis Ritchie, Douglas McIlroy, and… …   Wikipedia

  • UNIX-Kommandos — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix-Befehle — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix-Kommando — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix Kommandos — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

  • Unix-Kommandos — Unix Systeme zeichnen sich durch eine Vielzahl von Kommandos aus, mit denen sich über eine Shell das Betriebssystem bedienen lässt. Die Syntax dieser Kommandos weicht unter den verschiedenen Systemen voneinander ab. Es existieren die beiden… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”