Skip to main content
LPIC-1 Exam 101

Using rmdir, mkdir and rm -rf

By June 28, 2014September 12th, 2022No Comments

Objective 103.3 of the LPIC-1 101 exam is all about basic file management and in this video we look at creating directories with mkdir. We can delete empty directories with rmdir. To delete a directory with content then we can use rm -rf.

In creating a new directory we need the write permission to the directory in which we create the new directory and the same applies to deleting directories; we need to be able to write to the parent directory.