CentOS Stream 9
Sponsored Link

Command Help

Command :   Back to index

mkdir : make directories
[SYNOPSIS] mkdir OPTION DIRECTORY
OPTION
-p no error if existing, make parent directories as needed
# mkdir -p /home/dir1/dir2
if /home/dir1 does not exist, create it and then create /home/dir1/dir2
-m set file mode (as in chmod), not a=rwx - umask
# mkdir -m 700 dir
create a directory in the current directory with access rights 700
-Z set SELinux security context of each created directory to the default type

Matched Content