最近命令

history -c
echo > /root/.bash_history
cat /var/log/secure|grep 'Failed password for root'|wc -l
unzip kodexplorer4.25.zip -d os/
tar -zxvf 1.1-17.10.30-release.tar.gz
tail -f -n 50 /var/log/secure
cat /var/log/secure|awk '/Failed/{print $(NF-3)}'|sort|uniq -c|awk '{print $2"="$1;}'
echo "sshd:111.231.141.247:deny" >> /etc/hosts.deny
ab -t 60 -c 100 https://xeylon.com/default/3.html
ab -n 10000 -c 1000 https://xeylon.com/default/3.html

标签: Linux

发表评论: