$
학습 Linux 안내서
ko
XP:0
퀘스트 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 / SyntaxDescription
tmux new -s workStart a new named tmux session
tmux lsList active persistent sessions
tmux attach -t workAttach to running session

검증 목표

  • ○
    Create or inspect sessions with tmux new / tmux ls
  • ○
    Attach to session with tmux attach -t work

퀘스트를 완료할 준비가 되셨나요? 144?