how to give permission to mkdir in linux code example Example: linux create directory with permissions mkdir –m777 DirM