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
The correct syntax for the write command is:
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...