1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
| uname -a cat /proc/cpuinfo
df -h
du -sh
du -h / | sort -hr | head -n 10
ps aux --sort -rss ps aux --sort -%mem ps aux | awk '{print $6/1024 " MB\t\t" $11}' | sort -rn
scp user@ip:/remote_path /local_path
scp file.txt user@ip:/remote_path
find /folder_name -name 'prefix*'
grep -rnw '/path/to/somewhere/' -e 'pattern'
grep -Ril "text-to-find-here" /
grep -r "string to be searched" /path/to/dir
find /folder_name -size +100M
tar czf archive.tar.gz directory
tar xzf archive.tar.gz
ln -s source_file link
lsof -u user
lsof -i:80 lsof -i -P -n | grep LISTEN netstat -tulpn | grep LISTEN nc -vz 192.168.2.254 80
nmap baidu.com nmap 13.384.239.67
cat /etc/passwd | awk -F: '{print $1,$6}'
date | awk 'OFS="-" {print$6,$2,$3}'
who | awk '{print $1}'
git checkout -
docker stats --no-stream
docker system df -v
|
终端录制
Terminal session recorder
crontab调试工具
https://crontab.guru/
参考引用
https://www.cyberciti.biz/faq/unix-linux-check-if-port-is-in-use-command/
Shell Tutorial
https://www.tecmint.com/free-online-linux-learning-guide-for-beginners/
linux awk
https://www.linuxtrainingacademy.com/linux-commands-cheat-sheet/
https://kubernetes.io/zh-cn/
常用命令
https://github.com/mingongge/BestSRE
计算机网络