简单收录些东东,非标准的文章
清除 windows 访问共享命令
net use * /delete
静态路由,网站一枚
www.tp-link.con.cn
shopt -s extglob
ls !(bin)
备份策略:月初全量备份,月中增量备份
sed -i "s/^.*PasswordAuthentication.*/PasswordAuthentication no/" ssh_config
echo "123" | passwd david --stdin
yum grouplist
yum groupinstall "Development tools"
centos ftp下载文件
sz file
rsync --daemon --config=/etc/rsyncd/rsyncd.conf
cucumber-nagios
curl -o /dev/null -s -w "http_code: %{http_code}\nhttp_connect: {%http_connect}\ncontent_type: %{content_type}\ntime_namelookup: %{time_namelookup}\ntime_redirect: %{time_redirect}\ntime_pretransfer: %{time_pretransfer}\ntime_connect: %{time_connect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{time_total}\nspeed_download: %{speed_download}\n" "$1"
mkisofs -r -o file.iso your_folder_name/
netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
UDP端口测试:nmap -sU -p 161 0.0.0.0
iperf 测试带宽
iperf -s 设置一段服务器
iperf -c host
zabbix
zabbix-server-mysql
zabbix-agent
zabbix-frontend-php
find . -maxdepth 1 -size 0 | xargs rm -f