Skip to content

Commit c103c78

Browse files
authored
Update Linux常用操作命令.md
1 parent b808ca3 commit c103c78

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

studynotes/Linux常用操作命令.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* 查看网络状态 **:netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'**
2323
* linux下取进程占用cpu最高的前10个进程 **:ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head**
2424
* 查看磁盘占用 **:iostat -xdk 1**
25+
* 查看磁盘占用 **:df -lh**
2526
* nohup后台不打印解决 **:nohup python -u test.py > nohup.out 2>&1 &**
2627
* 查看防火墙状态 **:service iptables status**
2728
* 开启防火墙 **:service iptables start**

0 commit comments

Comments
 (0)