- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Running Multiple Commands in screen Windows
The ability to create, manage, and maintain sessions that have multiple individual commands each running in their own windows is a huge productivity boost for the systems operator who is limited to text-only logins via SSH or even the local console of a Linux system. In this lab, we'll cover how to create multiple windows in a `screen` session, use the windowlist to perform simple navigation, jump directly to specific windows, and how to name your windows either on creation or afterward using `screen`'s commands. You'll also query sessions for their windows, use the windowlist as a menu when reattaching to a `screen` session, kill windows, and reorder the windowlist in useful ways, as well as learn how to effectively end or quit your windows and sessions.

Lab Info
Table of Contents
-
Challenge
Spawn, Display, and Rename Windows
Create windows, query for window information, and either set names on creation or rename windows as needed.
-
Challenge
Navigate between Windows
Use the windowlist and basic navigation keys to move among the various windows in your
screen
sessions. -
Challenge
Jump Directly to Specific Windows
Use more advanced navigation options to scroll through the available windows or jump directly to windows either via their window number or name.
-
Challenge
Change the Order of Windows
Use the windowlist and option keys to change the order of windows and their numbers, as well as display windows in various orders that are helpful.
-
Challenge
Kill Windows and End the Session
Use the appropriate methods to end windows, query session data, and inject commands into sessions to end them and their windows.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.