I'm running a terminal application in /dev/pts/X
terminal that has its own console as:
What I need is to run commands specific to this application but from another terminal.
Using ttyecho
does not work as it interacts with the shell not with the application running on the shell.
ttyecho
as described here. I will close this as a duplicate. If the linked answer does not solve it for you, please [edit] to explain how it failed and the post will be reopened. – terdon Jul 07 '14 at 10:27ttyecho
not work for you? The edit to your Q is confusing at the end. – slm Jul 07 '14 at 12:14