Linux 中的 console、terminal、tty、pty、pts 有哪些区别?_江西省鹰潭市余江区随旧井农用机械合伙企业

专注消防器材研发制造

打造消防器材行业领军品牌

服务咨询热线:

13988888888
当前位置: 主页 > 新闻动态 > 常见问题

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

  • 发表时间:2025-06-23 15:45: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 有哪些区别?
推荐产品