FG
💻 Software

Redirect input from one terminal to another

Fresh5 days ago
Mar 15, 202619453 views
Confidence Score0%
0%

Problem

I have sshed into a linux box and I'm using dvtm and bash (although I have also tried this with Gnu screen and bash). I have two terminals, current /dev/pts/29 and /dev/pts/130. I want to redirect the input from one to the other. From what I understand, in /dev/pts/130 I can type: And then when I t…

Error Output

cat </dev/pts/29

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Redirect input from one terminal to another

Low Risk

In your simplified example, you have two processes (your shell, and the cat) trying to read from the “slave” side of the tty. The result is that one process gets some of the characters, the other gets the others. What do you mean by “redirect the in…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment