Create and manage directory structures from the shell with precision and speed. 09.04.2026 | reading time: 2 min Need a tidy project layout or a secure folder on a server? The `mkdir` command creates directories quickly and reliably from the command line and is the first tool to reach for when organizing files. Project setup in practice Try this: create a small project skeleton, inspect it, then create a protected folder and observe a permission error example: ``` $ mkdir -p project/{src,bin,doc} $ ls -R project project: bin doc src $ mkdir -m 750 secure $ ls -ld secure drwxr-x--- 2 user group 4096 Apr 9 12:00 secure $ mkdir /root/newdir mkdir: cannot create directory '/root/newdir': Permission denied ``` Options that matter Use `-p` to create parent directories in one go, `-m` to set the mode at creation time, and `-v` to get verbose feedback; pass multiple paths to create several directories at once and combine `mkdir` with shell expansion for fast structure generation. When mkdir is not enough After creating folders you will often change ownership or permissions with `chown` and `chmod`, move or copy content with `mv` and `cp`, or populate directories using `tar` or `rsync` when migrating data between systems. Wrap-up and next steps Mastering mkdir removes a small but frequent friction in daily Linux work and makes scripting folder creation predictable; keep practicing and consider formalizing skills with certifications like CompTIA Linux+ or LPIC-1 and intensive exam preparation at bitsandbytes.academy to go deeper. Join Bits & Bytes Academy First class LINUX exam preparation. filesystem utilities scripting