linux命令
发布时间:2020-12-14 00:16:49 所属栏目:Linux 来源:网络整理
导读:目录 1. mkdir 2. ll 3. chomd 1. mkdir -m --mode=模式,建立目录的时候同时设置目录的权限; -p --parents 若所建立的上层目录目前尚未建立,则会一并建立上层目录; -v --verbose 每次创建新目录都显示信息 mkdir -m 777 test3mkdir -p-m 750 text5/text6
目录
1. mkdir-m --mode=模式,建立目录的时候同时设置目录的权限; mkdir -m 777 test3 mkdir -p-m 750 text5/text6 -h --help 帮助信息 用法:mkdir [选项]... 目录... Create the DIRECTORY(ies),if they do not already exist. Mandatory arguments to long options are mandatory for short options too. -m,--mode=MODE set file mode (as in chmod),not a=rwx - umask -p,--parents no error if existing,make parent directories as needed -v,--verbose print a message for each created directory -Z set SELinux security context of each created directory to the default type --context[=CTX] like -Z,or if CTX is specified then set the SELinux or SMACK security context to CTX --help 显示此帮助信息并退出 --version 显示版本信息并退出 2. ll以 bin -> usr/bin为例
3. chomdchmod [-cfvR] [--help] [--version] mode file...</pre> 其中:
其他参数说明:
chown [-cfhvR] [--help] [--version] user[:group] file... 参数 :
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
热点阅读