DEV Community

Discussion on: 5 Handy Bash Tricks in 2 Minutes

Collapse
 
dbazuin profile image
Dirk Bazuin

When using mkdir to create /foo/bar adding -p makes sure that /foo is also created if is does not exist yet.