Page 20 - Figure 11.01
P. 20
TreeStructured Directories (Cont.)
n Absolute or relative path name
n Creating a new file is done in current directory.
n Delete a file
rm <filename>
n Creating a new subdirectory is done in current directory.
mkdir <dirname>
Example: if in current directory /mail
mkdir count
mail
prog copy prt exp count
Deleting “mail” Þ deleting the entire subtree rooted by “mail”.
Operating System Concepts 11.20 Silberschatz, Galvin and Gagne Ó2002