Results 1 to 1 of 1
Hi all
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-03-2011 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 1
Executing commands in a different terminal
Hi all
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


Reply With Quote
