Hi,

anirban mukherjee typed:
> Since Linux has a policy of open source code.
> I wanted to get the source code of netstat and if config commands. I have
> serched a number of Linux sites but I was not able to find them. Can anyone
> please send me the URLs where such things are available.

$ rpm -qf /sbin/ifconfig 
net-tools-1.54-4
$ rpm -qf /bin/netstat   
net-tools-1.54-4

So its part of the net-tools package. If you're using RedHat, this
might help:

ftp://ftp.redhat.com/pub/redhat/redhat-6.2/SRPMS/SRPMS/net-tools-1.54-4.src.rpm

And if you're on debian:

http://www.debian.org/Packages/stable/base/netbase.html

-- 
Mrinal Kalakrishnan <[EMAIL PROTECTED]> http://mrinal.dhs.org/
Linux 2.2.12-20 || PGP:B1E86F5B || Mutt 1.3.7i (2000-08-03) || VIM 5.6 
-- 
printk("Entering UltraSMPenguin Mode...\n");
        2.2.16 /usr/src/linux/arch/sparc64/kernel/smp.c

----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to