domingo, enero 01, 2017

Sending command from one terminal to another

to get the terminals open:

$ who

to get current terminal:
$ tty

to send command to terminal /dev/pts/11

$ echo test >& /dev/pts/11

No hay comentarios.: