How can I know to which package a command belongs ?

Marius Gedminas marius at pov.lt
Fri Oct 25 10:49:17 UTC 2013


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...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20131025/b0076219/attachment.sig>


More information about the ubuntu-users mailing list