How can I know to which package a command belongs ?

Colin Law clanlaw at googlemail.com
Fri Oct 25 09:57:58 UTC 2013


On 25 October 2013 10:50, Kevin Wilson <wkevils at gmail.com> wrote:
> For example:
>
> How can I know to which package the command ifconfig belongs ?

sudo apt-get install apt-file
sudo apt-file update

$ which ifconfig
/sbin/ifconfig

$ apt-file search /sbin/ifconfig
net-tools: /sbin/ifconfig

So it is in the net-tools package

Colin


>
> Regards,
> Kevin
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list