Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Microsoft

Get started with the Linux command line and the Shell

Microsoft via Microsoft Learn

Overview

  • Module 1: Learn how to use Bash to manage IT infrastructure.
  • In this module, you will:

    • Learn what shells are and what Bash is.
    • Learn about the syntax of Bash commands.
    • Learn about important Bash commands, such as ls, cat, and ps.
    • Learn how to use I/O operators to redirect input and output.
    • Learn how to update a server's operating system.
    • Learn how to find and terminate rogue processes.
    • Learn how to use Bash to filter Azure CLI output.
  • Module 2: Have you ever needed to transform data from one format to another? Transforming data is a common task for developers. Whether you're trying to extract some information from some logs or incoming streams, you'll often need to deal with raw data and transform it before it's usable. In this module, you'll learn how to wrangle (transform) data by using the UNIX shell. You'll be introduced to some commonly used tools and to the basics of regular expressions.
  • In this module, you'll learn how to:

    • Do basic file inspection with commands such as head, tail, wc, less, and sort.
    • Use cat to create, append, display, and concatenate files.
    • Write and use regex (regular expressions) for text pattern matching.
    • Use grep to search files or stdin for pattern matching along with regex.
    • Do basic text transformations on input streams by using sed and regex.
    • Use pipes and filters for data wrangling.

Syllabus

  • Module 1: Introduction to Bash
    • Introduction
    • What is Bash?
    • Bash fundamentals
    • Bash commands and operators
    • Exercise - Try Bash
    • Exercise - Terminate a misbehaving process
    • Exercise - Use Bash and grep to filter CLI output
    • Knowledge check
    • Summary
  • Module 2: Use the UNIX shell to wrangle log data
    • Introduction
    • Perform file inspection in the UNIX shell
    • Basic file manipulation with the cat command
    • Introduction to regular expressions
    • Use the grep command to match regular expressions
    • Introduction to the stream editor
    • Use pipes and filters to put it all together
    • Knowledge check
    • Summary

Reviews

Start your review of Get started with the Linux command line and the Shell

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.