首页 > 试题广场 >

下面哪个命令可以设置脚本test.sh的有效期为2019年1

[单选题]
下面哪个命令可以设置脚本test.sh的有效期为2019年11月18日( )
  • shc -m 18/11/2019 test.sh
  • shc -e 18/11/2019
    test.sh
  • gzexe 18/11/2019
    test.sh
  • shc -d 18/11/2019
    test.sh
发表于 2020-04-01 17:35:03 回复(0)

linux shell 加密解密方法(shc/gzexe)

shc常用命令:
-e date (指定过期日期)

-m message (指定过期提示的信息)

-f script_name(指定要编译的Shell的路径及文件名)

-r Relax security. (可以相同操作系统的不同系统中执行)

-v Verbose compilation(编译的详细情况)

gzexe常用命令:

gzexe命令 – 压缩执行文件

语法格式:gzexe [参数] [文件]

常用参数:

-d 解开压缩文件

参考实例

压缩可执行文件:

[root@linuxcool ~]# gzexe abc

解压可执行文件:

gzexe -d test.sh
发表于 2021-06-06 11:55:21 回复(1)
expire 过期,首字母缩写,
发表于 2021-03-12 19:25:45 回复(0)
A
发表于 2020-04-01 18:11:05 回复(1)