hmo*_*liu 12
是的你可以。下载它。
但是,由于您没有说明您使用的是什么风格的 linux,这里有几个示例:
Debian/Ubuntu 相关:
# What package is the netstat executable in?
apt-file search /usr/bin/netstat
# Now download the source of that package
apt-get source net-tools
Run Code Online (Sandbox Code Playgroud)
CentOS/红帽:
yumdownloader --source net-tools
Run Code Online (Sandbox Code Playgroud)
netstat
是net-tools
套房的一部分。项目主页在这里:
https: //sourceforge.net/projects/net-tools/
您可以netstat
在此处浏览源代码:http://sourceforge.net/p/net-tools/code/ci/master/tree/或查看 netstat.c 文件。