create a directory in all child directory linux code example Example: linux create directory with permissions mkdir –m777 DirM