Réponses:
Essaye ça:
write yang /dev/pts/6
#type your message
#ctrl + D (EOF)
voir: 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 pour écrire plusieurs lignes:
~# cat >>`tty`
hello
from another
way
of doing this
^D
Où ^ D = CTRL + D.