Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with tmux

You're reading from   Getting Started with tmux Maximize your productivity by accessing several terminal sessions from a single window using tmux

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher Packt
ISBN-13 9781783985166
Length 148 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Victor Quinn Victor Quinn
Author Profile Icon Victor Quinn
Victor Quinn
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Jump Right In 2. Configuring tmux FREE CHAPTER 3. Sessions, Windows, and Panes 4. Manipulating Text 5. Diving Deeper 6. tmux for SSH, Pair Programming, and More 7. Using Other Tools with tmux A. Appendix Index

Understanding tmux commands and Command mode

You may have noticed that in prior chapters, we accessed some of our commands using different methods. For example, we showed you how to list the current key bindings. This can be done:

  • By using the key combination <Prefix>, ?.
  • By typing the command directly into a shell, prefacing the command with the tmux keyword, for example, tmux list-keys.
  • By entering Command mode via <Prefix>, : and typing the command list-keys and then hitting Enter.

    Note

    Command mode in tmux is a lot like the mode of the same name in vi or the mode that we get by pressing Meta + x in Emacs. We touched on Command mode briefly in Chapter 4, Manipulating Text. Once you enter Command mode in tmux, you will have a prompt starting with a colon (:), and anything you type is entered into that prompt. Hitting Enter runs the tmux command you typed, like with vi.

What is going on here and why do all these three methods accomplish the same thing?

Under the hood, each tmux command...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime