Advertisement

console redirection

Started by August 29, 2005 04:26 PM
0 comments, last by Fruny 19 years, 2 months ago
Hello, Haven’t played with linux for a while and it appears I’ve forgotten. I remember that trick that allowed to redirect everything that was happening at tty to another tty or pts. I need to see on my pts what’s happening at other pts on the fly. Do you remember how to do it? Tried cat /dev/pts/7 > /dev/pts/3 but that didn’t really get the job done Thanks Peter
You can probably do tail -f tty_to_snoop_on.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

This topic is closed to new replies.

Advertisement