next up previous contents
Next: Deleting files Up: Files & Directories Previous: Running a program

Creating & Deleting Directories

A new directory can be created by simply using the mkdirgif command, and an empty directory can be deleted using the rmdirgif command. Directories which are not empty cannot be deleted as easily. Say we want to create a subdirectory in our programs directory:

$ls -F
d  e  f*
$mkdir p
$ls -F
d   e   f*   p/

... and then delete it again:

$rmdir p
$ls -F
d  e  f*
$



Mark O. Stitson
Wed Sep 25 10:45:32 BST 1996