首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
shell运维
shell运维
mac
2025-11-26
14
#!/bin/bash
#author:kl
#查看有多少远程的 IP 在连接本机(不管是通过 ssh 还是 web 还是 ftp 都统计)
netstat
-
atn
|
awk
'{print $5}'
|
awk
-
F:
'{print $1}'
|
sort
-
nr
|
uniq
-
c
转载请注明原文地址: https://mac.8miu.com/read-508784.html
最新回复
(
0
)