Getting Started with tmux

Maximize your productivity by accessing several terminal sessions from a single window using tmux

Getting Started with tmux

This ebook is included in a Mapt subscription
Victor Quinn, J.D.

1 customer reviews
Maximize your productivity by accessing several terminal sessions from a single window using tmux
$0.00
$11.90
$27.99
$29.99p/m after trial
RRP $16.99
RRP $27.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781783985166
Paperback148 pages

Book Description

We will begin with a simple introduction to tmux and learn some ways in which it can help increase productivity in your daily terminal usage. From there, we'll move on to configuring and customizing tmux to make it work, look, and feel the way that best suits your needs. Along the way, we have tutorials and screenshots aplenty so that you can follow along and avoid feeling lost. We'll also explain some of the core concepts of tmux, including the way it uses sessions, windows, and panes in order to divide content and running programs.

We'll touch on how to perform basic manipulation of text to copy and paste text from one window to another or even from one file to another. We'll learn how to use tmux for fault-tolerant SSH sessions or pair programming, and we finish by discussing some other open source tools that can be used alongside tmux to help make it even more powerful.

By the end of this book, we will have a much better understanding of tmux and its capabilities with the tools necessary to turbocharge our terminal experience.

Table of Contents

Chapter 1: Jump Right In
Running tmux
Sessions
Naming the session
Explaining tmux commands
Summary
Chapter 2: Configuring tmux
Using the set-option command
Creating a tmux configuration file
Emacs or vi mode
Enabling mouse modes
Changing the status bar
Binding keys
Unbinding keys
Status bar revisited
Option types
Handy configuration tips
Accessing the man page
Show options
Summary
Chapter 3: Sessions, Windows, and Panes
Overviews
Playing around with sessions, windows, and panes
Working with more panes
Zooming panes
Resizing panes
Switching between panes by number
Cycling through pane layouts
Other pane operations
Summary
Chapter 4: Manipulating Text
Explaining the Window history
Explaining the different tmux modes
Interacting with the paste buffer
Working with the paste buffer
Summary
Chapter 5: Diving Deeper
Understanding tmux commands and Command mode
Advanced paste buffer usage
An advanced session and window usage
Breaking panes
Joining panes
Launching with defaults
Summary
Chapter 6: tmux for SSH, Pair Programming, and More
Using tmux over SSH for long lived sessions
Using tmux for pair programming
Summary
Chapter 7: Using Other Tools with tmux
Using tmux with the OS X Pasteboard
tmux configuration from the maximum-awesome project, by Square
Using tmuxinator to make session management easier
Using wemux to ease multiuser experience
Listing other tools to be used with tmux
Summary

What You Will Learn

  • Increase productivity by using tmux rather than a mouse to switch between terminal windows
  • Persist sessions on remote machines over SSH with tmux, making it easy to resume right where you left off even if your connection is terminated
  • Learn how tmux can be used to create persistent dashboards for monitoring servers
  • Use tmux to manage multiple terminal windows from a single one
  • Maximize terminal productivity with tmux
  • Maintain the state even when a terminal window is closed with tmux
  • Configure tmux and customize it for your needs

Authors

Table of Contents

Chapter 1: Jump Right In
Running tmux
Sessions
Naming the session
Explaining tmux commands
Summary
Chapter 2: Configuring tmux
Using the set-option command
Creating a tmux configuration file
Emacs or vi mode
Enabling mouse modes
Changing the status bar
Binding keys
Unbinding keys
Status bar revisited
Option types
Handy configuration tips
Accessing the man page
Show options
Summary
Chapter 3: Sessions, Windows, and Panes
Overviews
Playing around with sessions, windows, and panes
Working with more panes
Zooming panes
Resizing panes
Switching between panes by number
Cycling through pane layouts
Other pane operations
Summary
Chapter 4: Manipulating Text
Explaining the Window history
Explaining the different tmux modes
Interacting with the paste buffer
Working with the paste buffer
Summary
Chapter 5: Diving Deeper
Understanding tmux commands and Command mode
Advanced paste buffer usage
An advanced session and window usage
Breaking panes
Joining panes
Launching with defaults
Summary
Chapter 6: tmux for SSH, Pair Programming, and More
Using tmux over SSH for long lived sessions
Using tmux for pair programming
Summary
Chapter 7: Using Other Tools with tmux
Using tmux with the OS X Pasteboard
tmux configuration from the maximum-awesome project, by Square
Using tmuxinator to make session management easier
Using wemux to ease multiuser experience
Listing other tools to be used with tmux
Summary

Book Details

ISBN 139781783985166
Paperback148 pages
Read More
From 1 reviews

Read More Reviews