您的位置:首页 > 运维架构 > Linux

linux命令install几个简单参数的讲解

2015-05-16 18:15 579 查看

man install:

copy files and set attributes


在做CLFS时遇到的几个参数:

-d: treat all arguments as directory names;create all components of the specified directories.

把所有参数看作目录名字,创建所有指定的目录。


-v: print the name of each directory as it is created.

当每一个目录创建的时候,打印它们的名字。


-m: set permission mode (as in chmod), instead of rwxr-xr-x.

设置权限,而不是以rwxr-xr-x的方式。

在CLFS-ARM篇5.2中:
install -dv -m 0750 ${CLFS}/targetfs/root
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: