Skills

Linux

The command line and the operating system almost every server runs. Everything else on the roadmap sits on top of it.

Beginner · 18 topics · 2 projects · about 3 hours of reading

Step 2 of the DevOps engineer roadmap

Start with What Linux is

Topics

  1. 01

    What Linux is

    The kernel, distributions, and why servers run Linux. Getting a Linux shell on your own computer.

    7 min
  2. 02

    Moving around

    The directory tree, absolute and relative paths, and getting from one place to another with cd and pwd.

    7 min
  3. 03

    Looking at files

    Listing files with ls, hidden files, and reading what the long listing tells you.

    8 min
  4. 04

    Reading files

    cat, less, head and tail, and following a log file as it grows.

    7 min
  5. 05

    Creating and moving files

    Making, copying, moving and deleting files and directories, and doing it safely.

    7 min
  6. 06

    Finding things

    Searching inside files with grep and finding files by name, size or age with find.

    7 min
  7. 07

    Editing files

    Enough of nano and vim to change a config file on a server without leaving the terminal.

    8 min
  8. 08

    Users and permissions

    Users, groups, read, write and execute, chmod and chown, and when to use sudo.

    9 min
  9. 09

    Processes

    What a process is, seeing what is running, signals, and stopping a process that will not stop.

    8 min
  10. 10

    Services with systemd

    Starting, stopping and enabling services, reading their logs with journalctl, and writing a unit file.

    9 min
  11. 11

    Installing software

    Package managers, repositories, and keeping a machine up to date.

    8 min
  12. 12

    Disks and space

    Filesystems, mounting, and finding what is filling a disk with df and du.

    9 min
  13. 13

    Watching a machine

    CPU, memory and load, top and free, and telling a busy server from a broken one.

    9 min
  14. 14

    Running things on a schedule

    cron and systemd timers, and checking that a scheduled job actually ran.

    9 min
  15. 15

    Your shell

    Environment variables, PATH, aliases, and the files your shell reads when it starts.

    8 min
  16. 16

    Pipes and text

    Redirection, pipes, and shaping text with cut, sort, uniq, sed and awk.

    11 min
  17. 17

    Links

    Hard links and symbolic links, and what each one points at.

    9 min
  18. 18

    Archives

    Packing and unpacking with tar, gzip and zip, the formats you will meet in releases and backups.

    10 min

Projects

Do these after the topics. Each one runs on your own computer.

Project 2 · 12 min read

Read the logs

Take a web server log and answer questions with a pipeline: the busiest hour, the most common errors, the top visitors.

Open the project: Read the logs