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

Lesson 4 of 8

File descriptors, redirection and pipes

15 min

Linux Processes, Inside Out
Processes: the basicsFree with an account
  1. What is a process?
  2. fork() and exec(): how commands start
  3. Process states, zombies and orphans
Talking to processesPro
  1. File descriptors, redirection and pipes
  2. Signals: TERM, KILL, HUP and friends
  3. Terminals and job control
Performance and troubleshootingPro
  1. CPU scheduling, load and niceness
  2. A troubleshooting routine
Final exam
  1. Academy
  2. Linux Processes, Inside Out
  3. Talking to processes

File descriptors, redirection and pipes

Everything a process reads or writes goes through numbered file descriptors. Pipes connect one process's output to another's input.

  • 15 minutes
  • 3 quiz questions
  • Lab: 6 steps
  • Pro
Loading the lesson…
Previous lessonProcess states, zombies and orphansNext lessonSignals: TERM, KILL, HUP and friends

Lesson 4 of 8

File descriptors, redirection and pipes

15 min

Linux Processes, Inside Out
Processes: the basicsFree with an account
  1. What is a process?
  2. fork() and exec(): how commands start
  3. Process states, zombies and orphans
Talking to processesPro
  1. File descriptors, redirection and pipes
  2. Signals: TERM, KILL, HUP and friends
  3. Terminals and job control
Performance and troubleshootingPro
  1. CPU scheduling, load and niceness
  2. A troubleshooting routine
Final exam
  1. Academy
  2. Linux Processes, Inside Out
  3. Talking to processes

File descriptors, redirection and pipes

Everything a process reads or writes goes through numbered file descriptors. Pipes connect one process's output to another's input.

  • 15 minutes
  • 3 quiz questions
  • Lab: 6 steps
  • Pro

Sign in to continue

This lesson is part of Pro.

A free account saves your progress and opens every free lesson, quiz and lab. In this course that is the whole first module, Processes: the basics.

Create free accountSign in

Want to look around first? This lesson's lab runs in Explore, the sandbox, with no account.

Open Pipes & file descriptors in Explore
Previous lessonProcess states, zombies and orphansNext lessonSignals: TERM, KILL, HUP and friends