I need to write commands from one terminal to another terminal.
I tried these:
echo -e \"ls\\n\" > /proc/pid/fd/0 echo -e \"ls\\n\" > /dev/pts/
command > dev/pts/# where # is the other terminal's name