Skip to content
Infra X-Ray
AcademyExplore
Sign inCreate free account
Infra X-Ray

DevOps, simulated in your browser.

  • Academy
  • Explore
  • Roadmap
  • Contact
  • Privacy
  • Terms
All courses

Linux Processes, Inside Out

What really happens when you run a command

  • Beginner → Intermediate
  • 3 modules
  • 8 lessons
  • 7 labs
  • 1 h 44 min of reading
  • Final exam: 15 questions, pass mark 70%

Start this course

A free account saves your progress and opens every free lesson, quiz and lab.

1 of 3 modules free with an account, the rest Pro

Create free accountSign in

About this course

Every container, service and pipeline you will ever operate is, underneath, a set of Linux processes. This course builds an accurate mental model of them: how they are born, how they talk, how they are controlled and how the kernel shares the CPU between them. Each lesson explains the idea first, checks your understanding, then lets you prove it in a live simulated machine.

What you will be able to do

  • Explain the difference between a program and a process, and read the process tree
  • Describe exactly what fork() and execve() do when a shell runs a command
  • Recognise zombie and orphan processes and know how to get rid of them
  • Use file descriptors, redirection and pipes with a clear picture of what the kernel does
  • Choose the right signal and understand why graceful shutdown depends on SIGTERM
  • Control jobs from a terminal and explain what Ctrl+C and Ctrl+Z really send
  • Read load average and top, and use niceness to share CPU
  • Follow a calm troubleshooting routine on a misbehaving server

Syllabus

3 modules. Each lesson is reading, a quiz with a 70% pass mark, and usually a lab. A lesson is done when its quiz is passed and its lab is finished.

1 of 3 modules free with an account, the rest Pro

Processes: the basics

Module 1. 3 lessons, 39 min, 2 labs

Free with an account

What a process is, how a new one is created, and how it ends.

  1. What is a process?12 min, lab
  2. fork() and exec(): how commands start14 min
  3. Process states, zombies and orphans13 min, lab

Talking to processes

Module 2. 3 lessons, 41 min, a lab in each

Pro

File descriptors and pipes, signals, and controlling jobs from a terminal.

  1. File descriptors, redirection and pipes15 min, lab
  2. Signals: TERM, KILL, HUP and friends14 min, lab
  3. Terminals and job control12 min, lab

Performance and troubleshooting

Module 3. 2 lessons, 24 min, a lab in each

Pro

How the CPU is shared, and a calm routine for fixing a struggling machine.

  1. CPU scheduling, load and niceness14 min, lab
  2. A troubleshooting routine10 min, lab

Final exam

15 questions, pass mark 70%

Pro

Passing it makes the course complete. A failed attempt shows your score only, so you can try again without learning the answers.

  1. Take the final examYour best score is kept

Badge

Not earned yet

Finish every lesson to earn this badge. The exam is not needed for it.

Its finish comes from your average best quiz score: Solid, Great at 90% or more, Perfect at 100%.

Start this course

A free account saves your progress and opens every free lesson, quiz and lab.

1 of 3 modules free with an account, the rest Pro

Create free accountSign in

About this course

Every container, service and pipeline you will ever operate is, underneath, a set of Linux processes. This course builds an accurate mental model of them: how they are born, how they talk, how they are controlled and how the kernel shares the CPU between them. Each lesson explains the idea first, checks your understanding, then lets you prove it in a live simulated machine.

What you will be able to do

  • Explain the difference between a program and a process, and read the process tree
  • Describe exactly what fork() and execve() do when a shell runs a command
  • Recognise zombie and orphan processes and know how to get rid of them
  • Use file descriptors, redirection and pipes with a clear picture of what the kernel does
  • Choose the right signal and understand why graceful shutdown depends on SIGTERM
  • Control jobs from a terminal and explain what Ctrl+C and Ctrl+Z really send
  • Read load average and top, and use niceness to share CPU
  • Follow a calm troubleshooting routine on a misbehaving server

Syllabus

3 modules. Each lesson is reading, a quiz with a 70% pass mark, and usually a lab. A lesson is done when its quiz is passed and its lab is finished.

1 of 3 modules free with an account, the rest Pro

Processes: the basics

Module 1. 3 lessons, 39 min, 2 labs

Free with an account

What a process is, how a new one is created, and how it ends.

  1. What is a process?12 min, lab
  2. fork() and exec(): how commands start14 min
  3. Process states, zombies and orphans13 min, lab

Talking to processes

Module 2. 3 lessons, 41 min, a lab in each

Pro

File descriptors and pipes, signals, and controlling jobs from a terminal.

  1. File descriptors, redirection and pipes15 min, lab
  2. Signals: TERM, KILL, HUP and friends14 min, lab
  3. Terminals and job control12 min, lab

Performance and troubleshooting

Module 3. 2 lessons, 24 min, a lab in each

Pro

How the CPU is shared, and a calm routine for fixing a struggling machine.

  1. CPU scheduling, load and niceness14 min, lab
  2. A troubleshooting routine10 min, lab

Final exam

15 questions, pass mark 70%

Pro

Passing it makes the course complete. A failed attempt shows your score only, so you can try again without learning the answers.

  1. Take the final examYour best score is kept

Badge

Not earned yet

Finish every lesson to earn this badge. The exam is not needed for it.

Its finish comes from your average best quiz score: Solid, Great at 90% or more, Perfect at 100%.