CodingTrain / CodingTrain/Suggestion-Box

[Quantum Continuum]: Terminal command output to another terminal

Abierto
#653 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Sin datos de lenguaje
Estrellas
570
Forks
85
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## [Quantum Continuum]: Terminal command output to another terminal

1. Open two terminals
2. Identify each terminal with command: **tty**
3. Suppose they identified with: /dev/pts/0 and /dev/pts/1
4. In pts/0 redirecting stdout to /dev/pts/1 with exec command: **exec 1>/dev/pts/1**
5. Now each command from pts/0 output go to /dev/pts/1
6. Redirecting back stdout with commad: **exec 1>/dev/pts/0**
7. Now stdout working as before.

### It's better to see once, than hear seven times - YouTuBee video

_Note: Clicking on image will open a video on YouToBee_

[![](https://img.youtube.com/vi/hqVQxehmfuo/maxresdefault.jpg)](https://www.youtube.com/watch?v=hqVQxehmfuo)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.