You are not logged in.
lets say i am in using pts/2 and would like to redirect some user input into another terminal, say pts/3, as STDIN, ie pts/3 should execute the command redirected into it
I need to redirect into an open terminal, so forking the command is not an option...
my guess is:
echo "ls\n" >&0 /dev/pts/3
but this is much to simple to work, can anyone correct me?
Thanks.
Offline