Ultimate Cheatsheet for Developers

Curated list of useful resources and cheatsheets for web developers

View the Project on GitHub zlatanstajic/ultimate-cheatsheet-for-developers

tmux

Terminal multiplexer for managing multiple terminal sessions, windows, and panes.

Read more about tmux.

Table of Contents

↩ back to list of cheatsheets

Sessions

# Start a new named session
tmux new -s [name]

# Attach to an existing session by name
tmux attach -t [name]

# List all running sessions
tmux ls

# Kill a session by name
tmux kill-session -t [name]

# Detach from the current session (in-tmux keybinding): C-b d

⬆ back to top

Windows

# Create a new window in the current session
tmux new-window

# Create a new window with a given name
tmux new-window -n [name]

# Rename the current window (in-tmux keybinding): C-b ,
# Create a new window (in-tmux keybinding): C-b c
# Switch to the next / previous window (in-tmux keybinding): C-b n / C-b p

⬆ back to top

Panes

# Split the current pane vertically (in-tmux keybinding): C-b %
# Split the current pane horizontally (in-tmux keybinding): C-b "
# Navigate between panes (in-tmux keybinding): C-b [arrow]
# Resize the current pane (in-tmux keybinding): C-b [arrow] held
# Toggle zoom for the current pane (in-tmux keybinding): C-b z

⬆ back to top

Config & Misc

# Reload the configuration without restarting tmux
tmux source-file ~/.tmux.conf

⬆ back to top

Notes

⬆ back to top