Directories
Used to organize files in a hierarchical structure using mkdir and rmdir.
Linux · Files and Directories
Linux · Lesson
Linux filesystem structure and navigation. Permissions, ownership and ACL concepts. Copy, move and delete operations. Important system directories explained.
Linux organizes data in files and directories. Understanding how to create and remove them is essential for system navigation and administration.
Used to organize files in a hierarchical structure using mkdir and rmdir.
Created using touch and managed using rm and other utilities.
Linux provides powerful deletion tools like rm -rf which must be used carefully.
Use mkdir to create a single directory in Linux.
You can create more than one directory in a single command.
The -p option creates parent directories if they do not exist.
The touch command creates an empty file.
Multiple files can be created at once using touch.
rmdir deletes only empty directories.
rm is used to delete files in Linux.
rm supports multiple options for safe and force deletion.
rm -rf deletes files and directories without confirmation.
Next, you will learn how to navigate and inspect files in Linux.