How can I know to which package a command belongs ?

Kevin Wilson wkevils at
Fri Oct 25 11:18:14 UTC 2013

Thanks Colin and Marius, both work.
I have another question if I may:
Is there a way to get information about some package (like  its website)?

I know from fedora that when running rpm -qid net-tools, for example,
there is a screen with a lot of information, including the URL of the
package website


On Fri, Oct 25, 2013 at 1:49 PM, Marius Gedminas <marius at> wrote:
> On Fri, Oct 25, 2013 at 12:50:55PM +0300, Kevin Wilson wrote:
>> For example:
>> How can I know to which package the command ifconfig belongs ?
> dpkg -S $(which ifconfig)
> Cheers!
> Marius Gedminas
> --
> 31337 is a prime number, go figure...
> --
> ubuntu-users mailing list
> ubuntu-users at
> Modify settings or unsubscribe at:

More information about the ubuntu-users mailing list