Difference between revisions of "Directory"

From Hackepedia
Jump to navigationJump to search
m (New page: A directory is a container in a filesystem that holds files. Directories have permissions like files but must have the execute bit set in order for a program or human to [[...)
 
(reading directories within a program)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
A directory is a container in a filesystem that holds files.  Directories have [[permission|permissions]] like files but must have the execute bit set in order for a program or human to [[cd]] into it and list its contents.
+
A directory is a container in a filesystem that holds files.  Directories have [[permissions|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.

Latest revision as of 09:21, 17 July 2010

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.