codex-lv2-may-2025

Unix Shell Basics – Lesson Index

A beginner-friendly guide to navigating the command line. Learn how to move around, inspect files, get help, and understand the structure of commands using the Unix shell.

This tutorial is based on the resources at Carpentry Software

1. Introduction to the Unix Shell

What the shell is, why it matters, and how to get set up to use it.

2. Introducing the Shell

Compare graphical vs. command-line interfaces, and try your first shell command.

3. Navigating Files and Directories

Learn to check your current location and move between folders using pwd and cd.

4. Listing Files and Folders with ls

Use ls to view files and folders, and learn how to make the output more useful.

5. Clearing the Screen and Getting Help

Use clear, --help, and help to manage your workspace and access command instructions.

6. Using man to Read Manual Pages

Learn how to open and navigate detailed command documentation with man.

7. Exploring More ls Options

Combine multiple options like -l, -h, -r, and -t to sort and format file listings.

8. Exploring Other Directories with ls

Use ls to look inside any folder, not just your current one, using relative paths.