Send msg to stdout of pts
Commands
Command | Description |
---|---|
w | shows users with ther pts numbers |
wall | allows you to send a message to all pts and tty s |
Sample
$ echo "huhu" > /dev/pts/0
$ write yang /dev/pts/6 #type your message + enter and ctrl + D (EOF)