Because in Linux everything is a file you can do this easily - on a target terminal type:
tty
/dev/pts/0
ls > /dev/pts/0