- Lab
- A Cloud Guru
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.
Path 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.
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.