Intro to the Linux command-line

Objectives & prerequisites
Objectives
  • Navigate around the filesystem.
  • Create, move, rename, and delete files and directories.
  • List the contents of directories.
  • View the contents of files.
  • Execute commands using superuser privileges.
  • Preview your recent command history.
Prerequisites

To be able to practise the exercises and tasks, you should have access to one of the following:

  • Any Linux machine
  • Any Apple machine with that runs OS X 10.0 or higher
  • Any Windows machine that runs Windows 10 or higher, with Windows Subsystem for Linux (WSL2) installed.

Overview

This collection introduces you to Linux, terminals, and helps you use the command-line to explore and manipulate files and directories using a handful of the most basic and often-used Linux commands.