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

Joining panes


In addition to linking windows between one session and another, you can also do something called joining panes. The name can seem a bit misleading at first, but essentially, this is used to take a pane in one window and move it to another window.

It can be used to move one pane in a multipaned window to another window, but it can also be used to take a window, which has only one pane, and join it with another (now its name is probably a bit less misleading). This is very useful if you have two windows running different things but decide you'd prefer them as two panes of the same window.

For example, let's say we have a pane running in one window and we want to join it with another window. In the simplest case, we could switch to the pane we want to join and run the command join-pane -t :1 where :1 indicates that we want the window in index 1 in the current session. After running this command, the window index 1 in the current session will have the contents of any panes it had...

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 €18.99/month. Cancel anytime