Beginner

Mastering the Command-Line Interface (CLI)

The unifying theme across all four modules is that Linux treats nearly everything as a stream of text, and the shell provides a rich, composable toolkit — pipes, redirection operators, an...

The command line shell is where nearly everything on a Linux system happens, and nearly everything that happens at the command line involves manipulating text in one way or another. This course focuses on using command-line tools to work with plain-text data — whether that data lives in files or is moving between processes and destinations. All demonstrations run against a Linux system operating inside a container, which behaves exactly like a physical machine for the purposes of these commands.

Using ls to list the contents of an empty directory named project shows nothing, since there is nothing there to display yet. The -l flag would normally provide a long listing with ownership, permissions, size, and timestamp information, but with an empty directory there is nothing extra to show.

After typing some simple content, Ctrl+X saves the file and exits nano. Listing the directory again shows newfile present, owned by the current user and group, along with the date and time it was last updated.

Sign in to read this course

A free account unlocks all 514 courses. 20 are readable without one.

What's inside

6 sections
  1. 1 Table of Contents
  2. 2 Module 1: Creating, Deleting, and Moving Files
  3. 3 Module 2: Filtering Data Streams
  4. 4 Module 3: Editing and Manipulating Data Streams
  5. 5 Module 4: Redirecting Data Streams
  6. 6 Summary

Interested in this course?

Contact us to book it or get a custom training plan for your team.