hands-on lab

Linux Command Line Fundamentals

Up to 1h 47m
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.


Linux is a popular operating system that is used by a large cross-section of audiences including IT managers, system engineers, and network engineers. There are many distributions, or distros, of Linux. Each distro offers different experiences but they all have in common the ability to use the Command Line Interface (CLI): this is a way that a lot of people prefer to interact with the Linux operating systems instead of using the Graphical User Interface (GUI).

In this lab, you will learn the basic commands you can use in almost every Linux distro.

Learning Objectives

Upon completion of this lab you will be able to:

  • Navigate through the file system and create/delete files and folders
  • Understand how to create a user and how to handle its password
  • Extract information from a file and to download files from known sources
  • Learn many useful commands that can help you when working with Linux

Intended Audience

This lab is intended for:

  • Individuals who want to learn the basics of the Linux Command Line Interface
  • Those who want to start having the knowledge required to become a Linux system administrator
  • People who want to start working in the Linux ecosystem


This lab has no prerequisites.


October 20th, 2020 - Reduced VM boot time by several minutes and improved VM performance

Environment before

Environment after

About the author

Richard Beck, opens in a new tab
Director of Cyber Security at QA
Learning paths

Richard Beck is Director of Cyber Security at QA. He works with customers to build effective and successful security training solutions tailored for business needs. Richard has over 15 years' experience in senior Information Security roles. Prior to QA, Richard was Head of Information Security for an organization that underpins 20% of the UK's Critical National Infrastructure. Richard also held Security and Technical Management posts in the Defence, Financial Services, and HMG. Richard sits on a number of security advisory panels and previously chaired the Communication Industry Personnel Security Information Exchange (CPNI). Richard is also a STEM Ambassador working to engage and enthuse young people in the area of cybersecurity. Providing a unique perspective on the world of cybersecurity to teachers and encourage young people to consider a career in cybersecurity.

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Connecting to the Linux Virtual Machine Using RDP
Introduction to the Linux Desktop
File System Navigation
File Modification
Creating User Accounts
Extracting Information and Downloading Files
Finding the number of lines Shakespeare mentions Hamlet (Challenge)
Additional Useful Commands