Today, I Learned...

by Justin Campbell

< All

mkdir -p creates intermediate directories:

$ mkdir a/b/c
mkdir: a/b: No such file or directory

$ mkdir -p a/b/c

$ tree a
a
└── b
    └── c

2 directories, 0 files

Thanks to @aaronfeng

October 2nd, 2012