Tag: mkdir

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,...