Skip to main content
edited tags
Link
Kusalananda
  • 355.8k
  • 42
  • 735
  • 1.1k
Added `/` to dev/pts/1
Source Link
Edgar Magallon
  • 5.1k
  • 3
  • 15
  • 29

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

i want to open three terminals , and i want to write a command in the first window that will send a Hello message to the other two. and the command must allow a one-time sending without a response from the other terminals.

i used  : tee > dev/pts/1 /dev/pts/2 and every thing is good, but I want to exit the command after typing Hello without using ctrl+d

I want to open three terminals and I want to write a command in the first window that will send a Hello message to the other two. The command must allow a one-time sending without a response from the other terminals.

I used:

tee > /dev/pts/1 /dev/pts/2

and everything is good, but I want to exit the command after typing Hello without using Ctrl+d

Source Link
bara
  • 19
  • 4

how to exit command without using ctrl + d

i want to open three terminals , and i want to write a command in the first window that will send a Hello message to the other two. and the command must allow a one-time sending without a response from the other terminals.

i used : tee > dev/pts/1 /dev/pts/2 and every thing is good, but I want to exit the command after typing Hello without using ctrl+d