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

  • 作者:admin
  • 发表时间:2025-06-23 15:10:18

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 └── Window0 └── Pane0 → bas…。

Linux 中的 console、terminal、tty、pty、pts 有哪些区别?
  • 上一篇:三十岁左右的你,正处于什么状态?
  • 下一篇:SpaceX 预计 2025 年收入将达到 155 亿美元,背后的原因是什么?