Determining Which Distribution Is Running on a Host

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In this hands-on lab, we will determine the Linux distribution that is running on the lab host. As a System Administrator, it’s not uncommon to log into an unfamiliar system to perform troubleshooting and other tasks, and this lab gives us a chance to practice discovering details about the operating system.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

View the Release Files
  1. We can view the release files by using globbing to pick up every file that contains the word "release" in the /etc/ directory.
    cat /etc/*release*
View the Issue Files
  1. We can view the issue files by using globbing to pick up every file that contains the word "issue" in the /etc/ directory.
    cat /etc/*issue*
Run a Utility to Determine the Linux Distribution
  1. We can use a couple of utilities to determine the distribution. We can either use lsb_release -a, or for systemd-based systems, we can use hostnamectl.

Additional Resources

Your supervisor has given you the address and credentials to a remote Linux host and asked you to determine what distribution and version are currently running on the system for an audit.

What are Hands-on Labs

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!