時間太緊張
簡單收錄些東東,非标準的文章
清除 windows 通路共享指令
靜态路由,網站一枚
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