Linux Commands #12 - mkdir — Create Folders in Linux (with the -p Power Trick)

Опубликовано: 17 Июнь 2026
на канале: Dargslan
13
0

Master IT skills with Dargslan - No Filler, Just Knowledge.

🚀 Get our 300+ Tech & IT eBooks: https://dargslan.com

In this video, we dive deep into professional IT workflows to help you learn faster and code smarter. Whether you're a DevOps engineer, a SysAdmin, or a curious developer, our "No Filler" approach ensures you get the facts without the fluff.

mkdir = MaKe DIRectory. The folder-creating command every Linux user runs daily. But the -p flag turns it from "make ONE folder" into "build an entire tree at once" — a 10× productivity boost most beginners miss.

In this lesson:
🎯 Make a single folder
🎯 The magic -p flag: nested directories in one command
🎯 mkdir -p src/main/java/com/example/ — full Java tree, instant
🎯 Common mistake: forgetting -p (gets cryptic "No such file or directory")

Visit dargslan.com for the full Linux Commands course — explanations a complete beginner can follow.

⏱ TIMESTAMPS
0:00 Mia needs a new project folder
1:00 Plain mkdir
1:30 The -p flag explained
2:00 Build a nested structure in one line
3:30 Real example: setting up a new dev project
4:00 Common mistake: missing parent directories

📚 Linux Commands — The First 50 · Lesson 12 of 50 · dargslan.com

#linux #mkdir #linuxtutorial #commandline #beginnerlinux #linuxcommands

🔔 Subscribe for weekly IT insights:
   / @dargslan  

About Dargslan:
We are dedicated to sharing high-quality, practical IT knowledge. Our mission is to provide the most efficient learning resources for the modern tech industry.

#DevOps #ITMastery #Dargslan #Linux #CloudEngineering #NoFillerTech