DEV Community

Shafi
Shafi

Posted on • Originally published at shafi.live

2 2

Create Nested Directories With `mkdir`

To create nested directories with mkdir in terminal, you just need to pass the -p flag before your parameter.

Example:

mkdir -p first/second/third
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay