Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 15m
Published
Clock icon Aug 07, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Spawn, Display, and Rename Windows

    Create windows, query for window information, and either set names on creation or rename windows as needed.

  2. Challenge

    Navigate between Windows

    Use the windowlist and basic navigation keys to move among the various windows in your screen sessions.

  3. 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.

  4. 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.

  5. 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.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans