DEV Community

Shafi
Shafi

Posted on • Originally published at shafi.live

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)