hands-on lab

Linux Command Line Byte Session

Beginner
Up to 2h
3,176
4.7/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Lab Overview

Linux is the dominant operating system in the cloud. Even Microsoft, whose well-known for its Windows operating system, reports that Linux is running on the majority of Azure implementations - and that share is only growing. When you work with Linux in the cloud, you are most likely going to be using a text-based terminal also known as the command line. It takes some getting used to an environment that does not rely on pointing, clicking, and dragging with a mouse. This Lab is here to help get used to the command line.

This Lab is for anyone that is getting started with Linux at the command line or looking to review the basics of working at the command line in Linux. Each step of this Lab has some additional challenges for you to complete if you want to further your knowledge. The challenges are completely optional.

There is a course that corresponds to this Lab. You are encouraged to complete the course while you perform this Lab to get the most benefit.

Note: The course uses the Azure Cloud Shell while this Lab uses Cloud Academy's hosted web terminal.

Lab Objectives

Upon completion of this Lab, you will be able to:

  • Understand what the Linux command line is
  • Know how to issue commands at the command line
  • Use common commands for working with files and directories
  • Gain hands-on experience working at the command line

Lab Prerequisites

You should be familiar with:

  • The fact that Linux is a free and open-source operating system that is an alternative to Windows and Mac operating systems

Updates

November 17th, 2022 - Updated Lab with checks 

November 7th, 2022 - Updated Lab to use the Cloud Academy's hosted web terminal

Environment before

Environment after

About the author

Avatar
Logan Rakai, opens in a new tab
Lead Content Developer - Labs
Students
220,716
Labs
223
Courses
9
Learning paths
57

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

LinkedIn, Twitter, GitHub

Covered topics

Lab steps

Understanding the Command-Line Basics
Getting Help at the Command Line
Working with Files
Working with Directories
Using Shell Variables
Learning Other Command Patterns Frequently Used in Labs