Urgent.News

What's breaking now, across thousands of outlets.

Tech

tmux: เปลี่ยน terminal จอเดียวให้เป็นหลายจอ งานยาว ๆ ก็ไม่หายเมื่อ SSH หลุด

📅 เขียนเมื่อ: กันยายน 2026 | อ้างอิง tmux 3.7 (stable ตั้งแต่ มิ.ย. 2026) ⚠️ คำสั่งหลักไม่เปลี่ยนมานานหลายปี แต่เช็คเวอร์ชันตัวเองก่อนได้ด้วย tmux -V เรื่องเริ่มจาก SSH หลุดกลางคัน เคยไหม — นั่ง SSH เข้า server เพื่อรันงานที่กินเวลานาน เช่น build โปรเจกต์, เท database, รันเทสทั้งชุด, หรือ train โมเดล พอเรากด Enter แล้วงานมันวิ่ง... เราก็ทำอย่างอื่นต่อ เผลอตัวไป 10 นาที…

Original Thai Read in English

The article discusses the benefits of using tmux, a terminal multiplexer, for managing long-running tasks and improving productivity. tmux allows users to split their terminal into multiple windows and panes, enabling them to run various processes simultaneously without losing progress if they get disconnected from the server via SSH.

Unlike traditional terminal sessions, tmux sessions remain active even after the user disconnects, allowing them to reattach and continue their work seamlessly. The article provides a brief overview of tmux's structure, including sessions, windows, and panes, and demonstrates how to install and use tmux on macOS and Ubuntu/Debian systems.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Friday 4 September →