Linux 中的 console、terminal、tty、pty、pts 有哪些区别?

摘要: Linux 中的 console、terminal、tty、pty、pts 有哪些区别?_河北省张家口市蔚县易同麼树脂工艺品有限合伙企业

可以从一个实际的立即出发:tmux、SSH、pts 和 Shell 的完整关系解析完整架构总结本地电脑 → SSH → 网络 → 服务器 ↓ SSH服务器 → 分配 pts/1 ↓ tmux client (运行在pts/1上) ↓ (Unix Socket) tmux server (独立后台进程) ├── Session1 │ ├── Window0 │ │ ├── Pane0 → bash进程 (pty1) │ │ └── Pane1 → zsh进程 (pty2) │ └── Window1 │ └── Pane0 → fish进程 (pty3) └── Session2 └── W…。

Linux 中的 console、terminal、tty、pty、pts 有哪些区别?
白鹤镇更多
兰英乡更多
呷拉镇更多
则约乡更多
金斗乡更多
泾明乡更多