摘要: iptables -t filter -L iptables -vnL iptables -L 查看防火墙规则 iptables -I INPUT -s 192.168.31.224 -j DROP 添加到第一条 iptables -t filter -A INPUT -s 192.168.31.2 阅读全文
posted @ 2022-01-02 17:45 Cola1995 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 显示以menu开头的数据 以单引号分割取第二个字段 显示序号 系统变量FS 系统变量OFS 改变默认分割符 系统变量RS 默认取值到/n,更改取到: $ 0 默认一整行数据, 系统变量NR FNR NR 不会根据文件重新排列序号 系统变量NF NF 显示字段的数量 $NF 显示最后一个字段的值 if 阅读全文
posted @ 2022-01-02 11:51 Cola1995 阅读(41) 评论(0) 推荐(0) 编辑