Commands

CommandDescription
wshows users with ther pts numbers
wallallows you to send a message to all pts and ttys

Sample

$ echo "huhu" > /dev/pts/0
$ write yang /dev/pts/6 #type your message + enter and ctrl + D (EOF)