常用参数: 复制代码 代码如下: -e date Expiration date in dd/mm/yyyy format [none](指定过期日期) -m message message to display upon expiration ["Please contact your provider"](指定过期提示的信息)
-f script_name File name of the script to compile(指定要编译的shell的路径及文件名)
-r Relax security. Make a redistributable binary which executes on different systems running the same operat-ing system.(可以相同操作系统的不同系统中执行)
说明: 经我测试,相同在操作系统,shc后的可执行二进制文件直接可以移植运行,但不同操作系统可能会出现问题,如我将源shell在CentOS5.4上加密后移到redhat as5u4上不能运行,出现“Floating point exception”错误提示,但移到另一台CentOS5.4上直接运行没问题。