クエスト 144Multiplexer
+220 XP
Terminal Multiplexing (tmux)
このクエストの対話型ターミナルを起動する→インストール不要 • ブラウザ上で完全動作
概念と概要
When working over SSH, closing your laptop lid or losing Wi-Fi sends a hangup signal (SIGHUP) that immediately terminates your long-running builds, database dumps, and tests. A terminal multiplexer like tmux runs persistent virtual terminals on the server independent of your SSH connection.
- tmux new -s : Starts a new persistent session.
- tmux ls: Lists all running sessions.
- tmux attach -t : Re-attaches to a running session from any computer at any time.
ミッションの手順
Let's manage persistent terminal sessions. Start a session named
work by running tmux new -s work, list running sessions with tmux ls, and attach to it using tmux attach -t work.コマンド構文リファレンス
| Command / Syntax | Description |
|---|---|
tmux new -s work | Start a new named tmux session |
tmux ls | List active persistent sessions |
tmux attach -t work | Attach to running session |
検証目標
- ○Create or inspect sessions with tmux new / tmux ls
- ○Attach to session with tmux attach -t work