Skip to content
skillbld
Linux Command Line · 14-day planAll days
Day 2 of 14 30 min

Linux keeps everything in one tree of folders starting at /. Learn the important folders, the difference between absolute and relative paths, the shortcuts ~, . and .., moving around with cd, and the most useful ls options for seeing what's where.

By the end of today you can

  • Describe the Linux file system tree and its main folders
  • Write absolute and relative paths
  • Use the shortcuts ~, ., .. and -
  • Move around with cd and check where you are with pwd
  • List files with ls and its most useful options, including hidden files

What's inside

  • 6 sections
  • 3 diagrams and mind maps
  • 6 code examples you can run
  • 5-question quiz
  1. 1One tree, starting at /
  2. 2Where am I? pwd and cd
  3. 3Absolute and relative paths
  4. 4Shortcuts: ~ . .. and -
  5. 5Seeing what's there: ls
  6. 6A bird's-eye view: tree

Sign in free to read this lesson

Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.

Sign in free

Keep going

Day 2: Finding Your Way Around · Linux Command Line · SkillBld