$ tmux -V # show version
$ tmux # start tmux
$ tmux new -s test # start a named session
Ctrl + B ? # display help
Ctrl + B C # create new window
Ctrl + B , # rename window
Ctrl + B W # List of windows to select
Ctrl + B N # switch to next window
Ctrl + B P # switch to previous window
Ctrl + B 0-9 # switch to previous window
Ctrl + B X # close window
Ctrl + B D # detach a session
Ctrl + B S # list tmux sessions
Ctrl + B $ # rename tmux session
$ tmux ls # list tmux sessions
$ tmux attach-session -t test
# attach an existing session
Ctrl + B " # split screen horizontally"
Ctrl + B % # split screen vertically
Ctrl + B and Up, Down, Left, or Right Arrow
# move between splitted screens
Ctrl + B Q # flash the screen number
Ctrl-b + [ # use your normal navigation keys to scroll around (eg. Up Arrow or PgDn).
# Press q to quit scroll mode.
$ tmux kill-server # reset tmux
Share this
Latest Stories
Featured
-
Best Kubernetes Monitoring & Observability Tools (Updated)
In Cloud, DevOps, Featured, -
Integrating Ansible Automation Controller with Splunk
In Ansible, Automation, Featured, -
Mastering Tekton: Your Guide to Cloud-Native CI/CD Workflows
In Automation, Courses, DevOps, -
Learn Ansible – A Comprehensive Guide for Courses and Exams
In Ansible, Ansible Resources, Automation, -
Free GitOps and CI/CD Courses and Certifications
In ArgoCD, DevOps, Featured, -
Terraform Cheat Sheet
In DevOps, Featured, Infrastructre & Hardware, -
Kubernetes vs OpenShift – 15 Facts You Should Know
In Cloud, DevOps, Featured, -
Introduction to OpenShift BootCamp
In DevOps, Featured, Kubernetes, -
How to set up and use Python virtual environments for Ansible
In Ansible, Automation, DevOps, -
5 Mistakes You Should Avoid During Kubernetes Exam
In Cloud, DevOps, Featured, -
10 Tips for your Kubernetes Exam – CKA & CKAD
In DevOps, Featured, Kubernetes, -
CKA, CKS & CKAD Learning Path and Certification
In Featured, Infrastructre & Hardware, Kubernetes,