古黑论全屏查看代码
808
3501
2万
可遇不可求的事:故乡的云,上古的玉,随手的诗,十九岁的你。
find / -name "*.log" -ctime +3 -exec rm -f {} \;
for i in `find /test -type f -size +100k`;do cd /test && mv $i /tmp;done
mount 192.168.1.1:/backup /mnt cd /mnt /usr/local/mysql/bin/mysqldump -hlocalhost -uroot test >test.sql tar czf test.sql.tar.gz test.sql rm -f test.sql
iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT iptables -F iptables -X iptables -A INPUT -i eth0 -p tcp –dport 80 -j ACCEPT iptables -P INPUT DROP
awk ‘{a[$1]++}END{for (j in a) print a[j],j}’ /home/logs/nginx/default/access.log|sort -nr|head -10
(1)MaxKeepAliveRequests 100 (2)Options FollowSymLinks Order Deny Allow Deny from all Allow from 192.168.1.1
上一篇: .do文件怎么转换啊
下一篇: 零基础Linux|第十二课_特殊权限位
使用道具 举报
2
81
200
这个用户很懒,还没有填写自我介绍呢~
46
410
1208
0
404
257
223
60
395
244
本版积分规则 发表回复 回帖后跳转到最后一页
古黑论管理员,在论坛上有什么问题都可以找他。
关于本站|大事记|小黑屋|古黑论 网站统计
GMT+8, 2021-1-28 09:13 , Processed in 0.034073 second(s), 20 queries , Redis On.
Powered by Discuz! X3.4