Skip to content

Commit 6823075

Browse files
committed
2017-05-18 补充 bash
1 parent ffc6373 commit 6823075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bash.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
- `find / -name "*tower*" -exec rm {} \;`,找到文件并删除
108108
- `du -hm --max-depth=2 | sort -nr | head -12`,找出系统中占用容量最大的前 12 个目录
109109
- `cat /etc/resolv.conf`,查看 DNS 设置
110-
- `netstat -tlunp`,查看当前运行的服务
110+
- `netstat -tlunp`,查看当前运行的服务,同时可以查看到:运行的程序已使用端口情况
111111
- `env`,查看所有系统变量
112112
- `export`,查看所有系统变量
113113
- `echo $JAVA_HOME`,查看指定系统变量的值,这里查看的是自己配置的 JAVA_HOME。

0 commit comments

Comments
 (0)