Respuestas:
Prueba esto:
write yang /dev/pts/6
#type your message
#ctrl + D (EOF)
ver: man 1 write
o echo "message" > /dev/pts/6
~# tty
/dev/pts/89
~# echo hello to myself >/dev/pts/89
hello to myself
o
~# echo hello to myself >`tty`
hello to myself
o para escribir varias líneas:
~# cat >>`tty`
hello
from another
way
of doing this
^D
Donde ^ D = CTRL + D.