directory

A folder: a named container in a filesystem that holds files and other directories.

In more detail

Directories nest into a tree that starts at the root, / on Linux and macOS. A path such as /home/ada/notes.txt names each directory on the way to a file.

Related terms

Taught in

References