Executing commands in a different terminal
this is a somehow theoretical question. suppose I am logged in in the first two virtual consoles (tty1 and tty2).
as we can see by executing tty in the first console, the standard input is "/dev/tty1". then, with my keyboard I am inserting commands through this input and the console reads and executes them.
now, if I execute, for example, echo "ls">"/dev/tty1" from the second virtual console, I will be doing the same thing as before, but the terminal will not execute that command.
Why does this happen?? Is there any way to make this terminal execute those commands??
thanks a lot