create directory with permission in linux and display list code example Example: linux create directory with permissions mkdir –m777 DirM