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 有哪些区别?
丰林镇更多
歧河乡更多
岘山镇更多
凤村镇更多
浦北县更多
甘龙镇更多