terminal.cab

Linux Basics

guestLevel 1Badges and progress0/100 XP, XP to the next levelStreak0

Module 2: Files and directories

Create, copy, link, find and measure files without losing anything.

Lessons

  1. Create, copy, move 10 min
  2. Delete, link, measure 10 min
  3. Finding files by name, age and size 10 min
  4. Disk usage 94% at 6:50 Rescue 8 min

Module check

Four questions on this module. Once you have answered each one correctly, the module counts as passed.

  1. Question 1 of 4You want to copy the whole folder project as a backup to project.bak. Which line?

    Check works once you have chosen an answer.

  2. Question 2 of 4What does mkdir -p a/b/c do?

    Check works once you have chosen an answer.

  3. Question 3 of 4You want all .log files below /var, however deep they are. Which line?

    Check works once you have chosen an answer.

  4. Question 4 of 4Why is rm -rf so dangerous?

    Check works once you have chosen an answer.

Cheat sheet

The most important command lines of this module on one A4 page, black and white, to print or keep on your phone.

Cheat sheet module 2, Files and directories, 15 commands; the same entries are in the lessons as text