Câu trả lời:
Thử cái này:
write yang /dev/pts/6
#type your message
#ctrl + D (EOF)
xem: man 1 write
hoặc là echo "message" > /dev/pts/6
~# tty
/dev/pts/89
~# echo hello to myself >/dev/pts/89
hello to myself
hoặc là
~# echo hello to myself >`tty`
hello to myself
hoặc để viết một vài dòng:
~# cat >>`tty`
hello
from another
way
of doing this
^D
Trong đó ^ D = CTRL + D.