Directory

From Hackepedia
Jump to navigationJump to search

A directory is a container in a filesystem that holds files. Directories have permission like files but must have the execute bit set in order for a program or human to cd into it and list its contents.

Programming

See the opendir(3) manpage on how to read directories within a C program.