Respostas:
Tente o seguinte:
write yang /dev/pts/6
#type your message
#ctrl + D (EOF)
Vejo: man 1 write
ou echo "message" > /dev/pts/6
~# tty
/dev/pts/89
~# echo hello to myself >/dev/pts/89
hello to myself
ou
~# echo hello to myself >`tty`
hello to myself
ou para escrever várias linhas:
~# cat >>`tty`
hello
from another
way
of doing this
^D
Onde ^ D = CTRL + D.