随笔 - 17  文章 - 0  评论 - 0  阅读 - 2365
  2022年4月12日
摘要: 时间计划任务 Crontab 常用方法 注意事项:需要提前安装 postfix mailx 服务 1、【安装】 2、【启动】 3、【格式说明】 4、【环境变量修改】 5、【案例说明】 时间同步服务NTP #1、检查是否安装ntp rpm -qa|grep ntp #2、若未安装则安装ntp yum 阅读全文
posted @ 2022-04-12 18:45 Simple音七 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 💡 案例1、取出Nginx日志文件中访问 ip 出现的次数,并把访问次数最多的5个ip统计并打印 awk '{print $1}' test.net_access.log.bak | sort | uniq -c | sort -rn | head -n5 💡 案例2、文件 a.log 格式如下 阅读全文
posted @ 2022-04-12 16:52 Simple音七 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 这里以 Windows 10系统为例 1、编写脚本,保存为后缀为 .sh 的文件 netsh interface set interface "VMnet1" disabled netsh interface set interface "VMnet1" enabled netsh interfac 阅读全文
posted @ 2022-04-12 10:58 Simple音七 阅读(401) 评论(0) 推荐(0) 编辑
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示