Information about 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.

See also

External links

Unix (officially trademarked as UNIX®) is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy.
..... Click the link for more information.
TTY is a short form of several things:
  • Teletypewriter or Teletype, a typewriter with an electronic communication channel
  • Teletypewriter as a common name for telecommunications device for the deaf (TDD)

..... Click the link for more information.
Unices by Bell
Research Unix
V6 (1975)
V7 (1979)
V8 (1985)
V9 (1986)
V10 (1989)


CB Unix
PWB/UNIX Research Unix is a term used to refer to versions of the Unix operating system for DEC PDP-7, PDP-11, VAX and Interdata 7/32 and 8/32
..... Click the link for more information.
Server Message Block (SMB) is an application-level network protocol mainly applied to shared access to files, printers, serial ports, and miscellaneous communications between nodes on a network. It also provides an authenticated Inter-process communication mechanism.
..... Click the link for more information.
Unices by Bell
Research Unix
V6 (1975)
V7 (1979)
V8 (1985)
V9 (1986)
V10 (1989)


CB Unix
PWB/UNIX PWB/UNIX (for Programmer's Workbench) was an early version of the Unix operating system.
..... Click the link for more information.
Printing: lp Communications: inetd netstat ping rlogin nc traceroute Searching: find grep strings Miscellaneous: banner bc cal dd man size yes
..... Click the link for more information.
talk was a program originally used for live text communication between different users of a single multi-user computer running the Unix operating system. talk eventually accommodated digital conversations between users on different machines as well.
..... Click the link for more information.
Linux (pronunciation: IPA: /ˈlɪnʊks/, lin-uks) is a Unix-like computer operating system. Linux is one of the most prominent examples of free software and open source development; its underlying source code can be
..... Click the link for more information.
man pages (short for "manual pages"). The Unix command used to display them is man. Each page is a self-contained document.

Usage

To read a page from the manual, one can use the command

man <page_name>

at a shell prompt, for example, "
..... Click the link for more information.
Unix (officially trademarked as UNIX®) is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy.
..... Click the link for more information.
command line interface or CLI is a method of interacting with an operating system or software using a command line interpreter. This command line interpreter may be a text terminal, terminal emulator, or remote shell client such as PuTTY.
..... Click the link for more information.
Printing: lp Communications: inetd netstat ping rlogin nc traceroute Searching: find grep strings Miscellaneous: banner bc cal dd man size yes
..... Click the link for more information.
The cat command is a standard Unix program used to concatenate and display files. The name is from , a synonym of concatenate.

Specification

The Single Unix Specification specifies the behavior that each of the files given in sequence as arguments will write their
..... Click the link for more information.
chattr is a UNIX program that allows a user to set certain attributes to a file. Mostly chattr is used to make files immutable so that password files and certain system files cannot be erased during software upgrades.
..... Click the link for more information.
cd, sometimes also available as chdir (change directory), is a command line command to change the current working directory in operating systems such as Unix, Windows and DOS.
..... Click the link for more information.
The chmod command (abbreviated from change mode) is a shell command in Unix and Unix-like environments.

When executed, the command can change file system modes of files and directories. The modes include permissions and special modes.
..... Click the link for more information.
The chown command is used on Unix-like systems to change the owner of a file. In most implementations, it can only be executed by the Superuser. Unprivileged (regular) users who wish to change the group of a file that they own may use chgrp.
..... Click the link for more information.
The chgrp command is used by unprivileged users on Unix-like systems to change the group associated with a file. Unlike the chown command, chgrp allows regular users to change groups, but only to one of which they are a member.
..... Click the link for more information.
cksum is a POSIX command that reads the files specified by the File parameter and calculates a checksum, cyclic redundancy check (CRC) and the byte count for a file or files. If no files are specified, the cksum command reads standard input.
..... Click the link for more information.
cmp is a command line utility for computer systems that use a Unix operating system. It compares two files of any type and writes the results to the standard output. By default, cmp is silent if the files are the same; if they differ, the byte and line number at which the first
..... Click the link for more information.

..... Click the link for more information.
du (abbreviated from disk usage) is a standard Unix program used to estimate the file space usage; space used under a particular directory or files on a file system.

History

The du utility first appeared in version 1 of AT&T UNIX.
..... Click the link for more information.
df (abbreviated from disk free) is a standard Unix computer program used to display the amount of available disk space for filesystems on which the invoking user has appropriate read access, df
..... Click the link for more information.
file is a standard Unix program for determining the type of data contained in a file.

History

The original version of file originated in Unix Research Version 4 in 1973.
..... Click the link for more information.
fuser is a UNIX command showing which processes are using a specified file.


..... Click the link for more information.
ln is a standard Unix program used to create links (link) to files.

Link files

Links allow more than one file to refer to the same file, elsewhere.
..... Click the link for more information.
LS may refer to:
  • Lightspeed Media Corporation, a collection of nude teen websites
  • .ls, the Internet top-level domain for Lesotho
  • ls is a command specified by POSIX and the Single UNIX Specification. It lists files.
  • Jet2.

..... Click the link for more information.
lsof is a command meaning "list open files", which is used in many Unix-like systems to report a list of all open files and the processes that opened them. This open source utility was developed and supported by Vic Abell, the retired Associate Director of the Purdue University
..... Click the link for more information.
The mkdir command in the Unix operating system is used to make a new directory. Normal usage is as straightforward as follows: mkdir name_of_directory Where name_of_directory is the name of the directory one wants to create. When typed as above (ie.
..... Click the link for more information.
The mount Unix command line utility instructs the operating system a file system is ready for usage. The counterpart umount (note spelling) instructs the operating system that the file system will be (temporarily) removed and should no longer be used.
..... Click the link for more information.


This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
Herod_Archelaus


page counter