用法:install [选项]... [-T] 源文件 目标文件
或:install [选项]... 源文件... 目录
或:install [选项]... -t 目录 源文件...
或:install [选项]... -d 目录...
--backup[=CONTROL] 为每个已存在的文件创建备份
-b 类似--backup 但不接受参数
-c (忽略)
-C, --compare 比较每组源文件和目标文件,在一些情况下不修改目标文件
-d, --directory 将所有参数视为目录名称;为指定的目录创建所有组件
-D create all leading components of DEST except the last,
or all components of --target-directory,
then copy SOURCE to DEST
-g, --group=GROUP set group ownership, instead of process' current group
-m, --mode=MODE set permission mode (as in chmod), instead of rwxr-xr-x
-o, --owner=OWNER set ownership (super-user only)
-p, --preserve-timestamps 修改源文件的访问/修改时间以与目标文件保持一致
-s, --strip 拆解符号表
--strip-program=程序 指定拆解二进制文件的程序
-S, --suffix=后缀 覆盖常用备份文件后缀
-t, --target-directory=目录 将源文件所有参数复制到指定目录
-T, --no-target-directory 将目标文件视为普通文件
-v, --verbose 创建目录时显示其名称
--preserve-context preserve SELinux security context
-Z set SELinux security context of destination
file to default type
--context[=CTX] like -Z, or if CTX is specified then set the
SELinux or SMACK security context to CTX
--help 显示此帮助信息并退出
--version 显示版本信息并退出
* 详细请看help信息