Learn
Navigation
Filesystem

A filesystem organizes a computer’s files and directories into a tree structure:

  1. The first directory in the filesystem is the root directory. It is the parent of all other directories and files in the filesystem.
  2. Each parent directory can contain more child directories and files. In the filesystem on the right, blog/ is the parent of 2014/, 2015/, and hardware.txt.
  3. Each directory can contain more files and child directories. The parent-child relationship continues as long as directories and files are nested.

You’re probably already familiar with this tree structure - Mac Finder and Windows Explorer represent the filesystem as trees as well.

We are going to use the pictured filesystem for the rest of the lesson. You can reference it at anypoint here.

Instructions

Move on to the next exercise to start learning about the different commands!

Folder Icon

Sign up to start coding

Already have an account?