[LBo] write command

Chris F.A. Johnson cfaj at freeshell.org
Sat Dec 2 19:17:11 CET 2006


On Sat, 2 Dec 2006, Rafi Gabzu wrote:

> Hi ,
> What is the difference between Konsole to Xterm , seems that the write
> command works only between two Xterm .

    Both xterm and konsole are terminal emulators; konsole adds a lot of
    bells and whistles. For specific differences, see the man pages.

    If write works in xterm, but not konsole, it may be that konsole
    executes 'mesg n' to turn messages off. Try 'mesg y' to turn it on.

> Also the "who" command display pts/ and not tty .

    A tty is a virtual terminal (ctrl-alt-f1...f6 to get there,
    and (usually) alt-f7 to get back to the GUI).

-- 
    Chris F.A. Johnson                      <http://cfaj.freeshell.org>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


More information about the QnA mailing list