🦲
mind
  • cleber's mind
  • plans
    • fact checking
    • personal assistant
  • self-management
    • agenda and tasks
    • mails and emails
  • knowledge
    • career
    • programming
      • Big O Notation
      • browsing data
      • C/C++
      • databases
      • eclipse
      • gradle
      • java
        • apache camel
      • javascript
      • naming convention
      • mysql
      • prolog
      • regex
      • REST
      • ssl/tls
      • version control
        • git commands
      • web-semantics
      • wot
    • research
      • mas
      • planning
      • math
        • probability
      • machine learning
      • nlp
      • speech recognition
      • data sources
      • data visualisation
    • it
      • asterisk
      • containers
        • installing docker
        • deploying busybox
        • deploying a sample
        • deploying node-red
        • deploying from the hub
      • clusters
        • installing kubernetes
        • deploying bootcamp
        • deploying nginx
        • deploying jacamo-rest
        • grafana
      • deploy
        • heroku
      • linux
        • tmux
        • vim
        • startup
      • networks
      • pdf
        • ssh
    • productivity
    • language
      • expressions
        • nice signposts
        • linking expressions
      • latex
      • scientific
      • writing
    • sailing
    • financial
      • assets
    • emergency
    • out of boxes
  • teaching
    • eletrônica digital
      • Conversão decimal para binário
      • Conversão binário para decimal
      • Sinais analógicos vs digitais
    • programação I
    • cabeamento estruturado
  • moments
    • insightful ai facts
    • ai4industry-hackathon
    • previous activities
  • brasil
  • external links
    • personal webpage
    • my github
Powered by GitBook
On this page
  • From outside tmux
  • Useful commands
  • Working with sessions
  • Working with panes
  • Copy mode

Was this helpful?

  1. knowledge
  2. it
  3. linux

tmux

From outside tmux

  • Start a new session: $ tmux, or $ tmux new

  • List sessions: $ tmux ls

  • Attach to a session: $ tmux a -t session_name

  • Kill a session: $ tmux kill-session -t session_name

Useful commands

  • List tmux commands: Ctrl + b ?

Working with sessions

  • Create a new session: Ctrl + b : new

  • Rename session: Ctrl + b $

  • Detach from the current session: Ctrl + b d

  • Move to another session: Ctrl + b (, or Ctrl + b )

Working with panes

  • Split pane vertically: Ctrl + b %

  • Split pane horizontally: Ctrl + b "

  • Switch to the next pane: Ctrl + b o

  • Switch to another pane: Ctrl + b ←, or Ctrl + b →, or Ctrl + b ↑, or ↓

  • Close pane: Ctrl + b x

  • Move the pane: Ctrl + b {, or Ctrl + b }

Copy mode

  • Enter copy mode: Ctrl + b [, or Ctrl + PgUp

  • Quit copy mode: q

Sources

PreviouslinuxNextvim

Last updated 4 years ago

Was this helpful?

tmux cheat sheet