Open zhaowawj opened 6 years ago
find / -size +1G -exec ls -lh {} \;
du -hs logs du -hs *
curl -U user:passwd -x my-proxy:8080 http://www.getthis.com curl -k -x 127.0.0.1:8087 https://www.google.com.hk curl .curlrc wget .wgetrc
iostat -c -d -x -k 3
程序构建: configure, make, gcc 程序调试: gdb, pstack, strace 目标文件分析: nm, objdump, readelf, size, file, strings, fuser, xxd, od 性能优化: top, free, iostat, pstack, pstrace, gprof, valgrind, oprofile, sar
hostname,uname,ifconfig,dig,ping,traceroute,iptable,tcpdump iostat,netstat, curl,wget sed,awk find,grep,sort,uniq,wc ps,top,free,kill ssh,scp,sftp,telnet echo,printf,yes,seq,clear expr,dc date,ntpdate sleep,watch,at,crontab
conversion, read raw file
echo $((base#number)) any base to decimal conversion
echo 'ibase=16; obase=10; B87' | bc base x -----> base y 16进制只认大写
$ echo '6^6' | bc
head -1 /dev/urandom first 1 line
vim
format: 1. gg 2. %=G