Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Reuse terminal workspaces using tmux sessions

    tmuxtmux

    In this lesson, we'll learn how to detach from a running tmux session and leave it running in the background. Then, we can re-attach to it later.

    We'll cover:

    • How to exit a session by killing all active panes
    • Detaching explicitly with C-b d
    • Detaching a specific session with C-b D
    • Viewing all running tmux sessions using tmux ls
    • Reattaching with tmux attach -t