linux mkdir recursive if not exists code example Example: make recursive directory linux mkdir -p file/sub_file/subfile2