create folder recursive linux command code example Example: make recursive directory linux mkdir -p file/sub_file/subfile2