Tag: mkdir

mkdir recursively create directories in linux/unix

Creating directories recursively can help us greatly improve efficiency during development. In linux/unix, we can use the mkdir command to recursively create directories and subdirectories...

mkdir if not exists in linux/unix

mkdir creates a directory if it does not exist, we can use the mkdir -p option. syntax: mkdir -p foo/bar/baz, will create directories foo, foo/bar,...