iI want to open three terminals , and iI want to write a command in the first window that will send a HelloHello message to the other two. and theThe command must allow a one-time sending without a response from the other terminals.
iI used : tee > dev/pts/1 /dev/pts/2
tee > /dev/pts/1 /dev/pts/2
and every thingeverything is good, but I want to exit the command after typing HelloHello without using ctrl+dCtrl+d