Reconnect to a specific session.
Section: Session lifecycle
Attach to a named session
bash
bash
tmux attach-session -t workExplanation
Target by session name or id.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Session lifecycle
Attach and detach other clients
Take over a session from other attached clients.
Create a named session and first window
Name the session and initial window together.