CodingTrain / CodingTrain/Suggestion-Box

[Quantum Continuum]: Terminal command output to another terminal

オープン
#653 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
570
フォーク
85
PR マージ指標
30日以内にマージされた PR はありません

説明

## [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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。