write

Use the write command to send a quick message to another user. The syntax for write is as follows:

write username <terminal> 

For example, to send a message to bcalkins, I’ll type the following:

write bcalkins <cr> 

After pressing the Return key, the user will be alerted by an audible beep, and the message will be displayed on the system console or in the console window (if using CDE), as shown in Figure 5.2.

Figure 5.2. The console window.

As you type each line of text, the line of text will be sent to the recipient after every Return. When finished, press Ctrl+D.

Within CDE, the write command sends a message to the console window ...

Get Inside Solaris™ 9 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.