DevOps.Academy
CoursesCurriculumInterview prepPricing
◔My learningSign in
DevOps.Academy

Free, hands-on DevOps lessons. Made with care in India.

System status

Learn

All coursesLinux roadmapCurriculumInterview questionsCheat sheetsMy learning

Academy

PricingCertificates

Legal

PrivacyTermsContact

devops.rajeev.pro

course 01 · beginner

Linux & Bash for DevOps

From your first prompt to debugging a broken server. Each stage builds on the one before it.

Start lesson 1 →
Course quiz108 questions to test yourselfInterview questions27 questions with model answersCheat sheetThe whole course on one page, for revision
Level
Beginner
Roadmap
16 stages · 77 topics ↓
Lessons
16 of 16 ready
Done by you
0/16 stages
Before this
Nothing, start here
Course quiz
108 questions →
Certificate
Preview →
before you start

The Linux & Bash roadmap

Everything this course covers, in the order you'll learn it. Open a stage to see why it matters and jump to its lesson.

lesson ready coming soon done by you
  • Basic commands
  • Directory hierarchy
01Navigation basics+Start here

Find your way around any server without a GUI. Everything else depends on this.

Lesson 1: The shell and the filesystem →
  • Moving files & folders
  • Creating & deleting files
  • nano
  • vim basics
02Editing files+

Config lives in text files. You need to edit them over SSH, where there is no VS Code.

Lesson 2: Editing files: nano, vim, and changing a server safely →
  • Search & replace
  • Save & quit safely
  • Command path ($PATH)
  • Environment variables
  • man & --help
03Shell basics+

Know how the shell finds commands, where output goes, and when you are root.

Lesson 3: Shell basics: PATH, variables, streams and sudo →
  • stdin / stdout / stderr
  • Redirects
  • sudo & root
  • Permissions (chmod, chown)
  • Copying & renaming
04Working with files+

Most "it works on my machine" bugs are really permission or path problems.

Lesson 4: Working with files: permissions, archives and links →
  • tar & gzip
  • Soft & hard links
  • grep
  • Pipes & tee
  • head / tail
05Text processing+

Logs are text. Small tools joined with pipes answer most incident questions in seconds.

Lesson 5: Text processing: get answers out of logs →
  • sort & uniq
  • cut & tr
  • wc
  • awk & sed basics
  • Uptime & load
  • Memory & disk (free, df, du)
06Server review+

The five-minute health check you run the moment you log into a slow server.

Lesson 6: Server review: a five-minute health check →
  • Running services
  • Auth logs
  • ps, top & pgrep
  • Background & foreground jobs
07Process management+

Find what is eating the CPU, stop it cleanly, and keep jobs running after you log out.

Lesson 7: Processes: see them, control them, stop them →
  • Signals & kill
  • Priorities (nice)
  • Forking
  • Create, update, delete users
  • Groups
08Users & groups+

Every service should run as its own user. This is the first layer of security.

Lesson 8: Users and groups: who can do what →
  • sudoers
  • File ownership
  • systemctl status
  • Start, stop, enable
09Services with systemd+

How real apps run on servers: start on boot, restart on crash, logs in one place.

Lesson 9: Services with systemd: run, restart, read the logs →
  • journalctl logs
  • Writing a unit file
  • apt & dnf
  • Repositories
10Package management+

Install, pin and upgrade software the same way on every server.

Lesson 10: Packages: install, update and trust software →
  • Install, remove, upgrade
  • Listing installed packages
  • snap
  • Filesystems & inodes
  • Mounts & fstab
11Disks & filesystems+

"Disk full" is one of the most common outages. Learn to find space and add more.

Lesson 11: Disks and filesystems: add, mount, grow and repair →
  • Adding disks
  • LVM
  • Swap
  • Boot loaders (GRUB)
12Booting Linux+

When a server will not come back after a reboot, this is where you look.

Lesson 12: How Linux boots, and what to do when it does not →
  • Boot logs
  • systemd targets
  • TCP/IP
  • Subnets & CIDR
  • DNS resolution
13Networking+

Half of DevOps debugging is "can A talk to B?". These are the building blocks.

Lesson 13: Networking: addresses, DNS, routes and SSH →
  • IP routing
  • DHCP
  • SSH & keys
  • scp & rsync
  • Variables
  • Conditionals
14Shell scripting+

Turn the commands you repeat into scripts that run the same way every time.

Lesson 14: Shell scripting: automate it once, run it forever →
  • Loops
  • Functions & exit codes
  • Debugging (set -x)
  • ping & ICMP
  • traceroute
15Troubleshooting+

A calm, repeatable way to find out why the network or a service is broken.

Lesson 15: Troubleshooting the network: from "it is down" to the cause →
  • ss / netstat
  • tcpdump
  • Firewalls (nftables)
  • Namespaces
  • cgroups
16Containers on Linux+

Containers are just Linux features. This stage is the bridge to the Docker course.

Lesson 16: Containers are Linux: namespaces, cgroups and Docker →
  • ulimits
  • Container runtimes
  • Docker
Course complete · ready for the next one

Stage order follows the community roadmap at roadmap.sh/linux, trimmed to what DevOps work needs.