linux命令mkdir介绍(4)

    Read

mkdir命令主要用于建立文件夹,是一个默认安装的用户命令:
参数:

-m:设置文件夹权限,类似chmod
-p:递归创建目录 SourceByrd's Weblog-https://note.t4x.org/rebuilding/mkdir-command-description/

案例:


其他参数:SourceByrd's Weblog-https://note.t4x.org/rebuilding/mkdir-command-description/

-v:打印出建立文件夹的说明
-Z:--context=CTX
set the SELinux security context of each created directory to CTX
When COREUTILS_CHILD_DEFAULT_ACLS environment variable is set, -p/--parents option respects default umask and ACLs,
as it does in Red Hat Enterprise Linux 7 by default SourceByrd's Weblog-https://note.t4x.org/rebuilding/mkdir-command-description/

SourceByrd's Weblog-https://note.t4x.org/rebuilding/mkdir-command-description/SourceByrd's Weblog-https://note.t4x.org/rebuilding/mkdir-command-description/
Today in History
December
13
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on December 13, 2017
  • 原文链接:https://note.t4x.org/rebuilding/mkdir-command-description/
匿名

Comment

Anonymous

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: