The trap command prevents the script from being interrupted by the user (by pressing control-C during boot, for example) while the script executes.
trap命令防止用户在脚本执行时中断(例如,在引导时键入control - c)脚本。
The trap command prevents the script from being interrupted by the user (by pressing control-C during boot, for example) while the script executes.
trap命令防止用户在脚本执行时中断(例如,在引导时键入control - c)脚本。
应用推荐