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

An advanced session and window usage


Back when we discussed sessions, we walked through how to switch from one session to another. What we didn't cover were some more advanced things such as switching from one window in one session directly to another specific window in another session, moving windows between sessions and sharing windows between sessions.

Jumping from one window in a session to another window in another session

A couple of chapters back, we discussed switching between multiple sessions using <Prefix>, s to bring up the list of sessions and select any of them.

OK! So let's get set up a bit. We'll need two active sessions with a couple of windows each. If you followed along the previous section, we should already have one active session; let's create another session using the tmux command, new-session -s "Another".

Now let's create another window using <Prefix>, c and run some command in it, for instance, top:

$ top

The output of this command is shown in the following...

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