Overview
Tmux is a terminal multiplexer allowing multiple terminal sessions in one window.
Why It Matters
Tmux enables terminal multiplexing for managing multiple sessions and windows efficiently.
Essential Commands
tmux new -s devCreate new named tmux session
tmux lsList tmux sessions
tmux attach -t devAttach to named session
tmux split-window -hSplit current pane horizontally
tmux split-window -vSplit current pane vertically
tmux kill-session -t devTerminate named tmux session
Quick Start
Start with the create and manage sessions
Key Concepts
Create and manage sessions
Split panes horizontally and vertically
Use detach/attach for persistent sessions
Pro Tips
- Combine multiple commands for powerful workflows
- Use aliases to speed up your command entry
- Create scripts to automate repetitive tasks
Common Pitfalls to Avoid
- • Forgetting to check the documentation for edge cases
- • Running commands without understanding their full impact
- • Not testing changes in a safe environment first