Module 01 of 12

Terminal & Shell Basics

Lessons

About This Module

Before you can script anything, you need to know what you are actually typing into. People often use "terminal", "shell", "command line" and "prompt" as if they mean the same thing, but they don't. The terminal is the window that shows text, the shell is the program that reads and runs your commands, and the prompt is the shell telling you it's ready for the next one. Once you have these straight, error messages, tutorials and Stack Overflow answers start to make a lot more sense.

This module starts by untangling that vocabulary, then gives you a quick look at what Bash is and why it's the default shell on most Linux servers. Next comes a hands-on first session in the terminal: listing files, moving between directories and running basic commands. The module finishes with the habit that will save you the most time: reading man pages so you can figure out any command without leaving the shell.

Open a terminal and follow along as you watch the lessons in order, then continue on to Navigating the Filesystem.

Lessons

4 videos
01

Terminal vs. Bash vs. Command Line vs. Prompt

Luke Smith pulls apart four terms that beginners constantly mix up: the terminal emulator, the shell (Bash), the command line, and the prompt. He shows what each one does and how they fit together when you open a terminal window.

02

Bash in 100 Seconds

Fireship gives a fast overview of Bash: where it came from, why it's the shell you meet on macOS and Linux, and a first look at the commands and scripting features the rest of this course builds on.

03

Beginner's Guide to the Bash Terminal

A hands-on crash course for new users that starts from an empty prompt. It covers listing directory contents, moving around the filesystem, working with files, and editing text, with each step explained so nothing is assumed.

04

Using Linux Man Pages

Linode shows how to use the built-in manual: opening a command's man page, moving through and searching it, and understanding man page sections. This is the skill that lets you learn any new command on your own.