Course · Beginner

Linux, the Shell and Git

Work the way engineers do on real servers: move around Linux, process text with pipelines, manage permissions, processes and services, write shell scripts that hold up, debug the network, and use Git alone and in a team.

Level
Beginner
Units
7 units, 42 lessons
Time
About 8 hours
Access
Unit 1 free, the rest with Pro
Practice
88 problems the judge checks
Certificate
Yes, anyone can verify it

What you will be able to do

  • Find, read, move and search files from the command line without a mouse
  • Answer questions about logs with grep, sort, uniq, sed and awk pipelines
  • Set safe permissions and manage processes, services, disks and cron jobs
  • Write shell scripts that quote correctly, check errors and clean up after themselves
  • Debug addresses, DNS, HTTP, TLS and SSH problems step by step
  • Use Git for daily work and in a team: branches, merges, rebases, pull requests and safe undo

Before you start: None. Comfort with any programming language helps; a few exercises are in Python (the Faurus course Introduction to Computer Programming, units 1 to 8, is enough).

Syllabus

7 units, in order

  1. Unit 1Free

    Finding your way in Linux

    What Linux and the shell are, moving around the file system, and creating, reading and finding files from the command line.

    5 lessons · 64 min
  2. Unit 2

    Text and pipelines

    Streams and redirection, pipes, and the small tools that answer real questions about logs and data: grep, cut, sort, uniq, tr, sed and awk.

    6 lessons · 78 min
  3. Unit 3

    Users, permissions and processes

    Who may do what on a Linux machine, the programs running on it, the services that keep running, disk space and scheduled jobs.

    6 lessons · 78 min
  4. Unit 4

    Shell scripting

    Bash scripts that do real work and hold up: variables and quoting, conditions, loops, functions and arguments, error handling and reading a script before you run it.

    7 lessons · 84 min
  5. Unit 5

    Networking for engineers

    Enough networking to debug real problems: addresses, ports and CIDR blocks, DNS, HTTP with curl, TLS certificates, SSH keys and firewalls.

    6 lessons · 78 min
  6. Unit 6

    Git basics

    Version control for your own work: commits, the staging area, history, branches, merges and conflicts, and undoing mistakes safely.

    6 lessons · 80 min
  7. Unit 7

    Git in a team

    Git with other people: remotes, pull requests and reviews, rebasing, tags and versions, keeping secrets out of history, and hooks.

    6 lessons · 76 min

How a course works

Short lessons. Real checks.

  1. Read a little

    A short explanation with an example, written for students, not for experts.

  2. Change it and run it

    Edit the example code in the lesson and run it to see what changes.

  3. Check, then solve

    A quick check, then practice problems the judge checks on hidden tests.

  4. Checkpoints and a final test

    Pass them to finish the course and get your certificate.

Linux, the Shell and Git, on a real judge.