摘要: 启停示例: startInstance.py #!/bin/env python3 # StartInstance #coding=utf-8 from aliyunsdkcore.client import AcsClient from aliyunsdkcore.acs_exception.ex 阅读全文
posted @ 2020-10-23 19:27 ascertain 阅读(164) 评论(0) 推荐(0) 编辑
摘要: at atd 等所有命令均由 at 包提供 默认只有/etc/at.deny ,此为黑名单 /etc/at.allow 为白名单,优先级高于 /etc/at.deny 当/etc/at.allow 和 /etc/at.deny 都不存在时,只有 root才能使用 at ,rpm包默认提供了空/etc 阅读全文
posted @ 2020-10-23 18:00 ascertain 阅读(147) 评论(0) 推荐(0) 编辑
摘要: shell中true & false是两个命令,其返回值为NULL,true 的 exit code为0,false 的exit code 为 1 #!/bin/env sh if [[ `$1` ]];then echo true else echo false fi 把false作为命令执行,其 阅读全文
posted @ 2020-10-23 11:51 ascertain 阅读(5134) 评论(0) 推荐(0) 编辑
摘要: IIS: Internet Information Server 服务显示名称为: World Wide Web Publishing Service 服务名称为: W3SVC IIS通过Windows服务主进程svchost.exe启动,启动后的进程为w3wp 我们可以用w3svc通过命令行,来控 阅读全文
posted @ 2020-10-23 11:18 ascertain 阅读(199) 评论(0) 推荐(0) 编辑