Discussion:
linux "ip" command source code
(too old to reply)
peha
2005-01-26 05:09:09 UTC
Permalink
Hi all,

Can anyone know, where I can find the source code of the "ip"command
in
Linux?

I searched http://gnu.org, http://kernel.org..

but can't find the source code of "ip" command.

I heard about "ip" command source code is not alone but include of
net-command(?) package.. so finding it is difficult

please help me..! :(
Charles Sullivan
2005-01-26 19:21:28 UTC
Permalink
Post by peha
Hi all,
Can anyone know, where I can find the source code of the "ip"command
in
Linux?
I searched http://gnu.org, http://kernel.org..
but can't find the source code of "ip" command.
I heard about "ip" command source code is not alone but include of
net-command(?) package.. so finding it is difficult
please help me..! :(
It's in the 'iproute' package in Red Hat 9 and Fedora Core 2.

In this case the ip man page hints at the package. But if not
(and for your future reference), if you know the full pathname
where a command or file is located, you can use RPM to find
out the package name. E.g.,
$ rpm -q --whatprovides /sbin/ip
iproute-2.4.7-7.90.1

Loading...