which package a file belongs to

Nils Kassube kassube at gmx.net
Sun Jan 18 12:11:27 UTC 2009

Matthew Flaschen wrote:
> Nils Kassube wrote:
> > dpkg -S /usr/bin/nedit|dpkg -l $(cut -f1 -d':')
> Doesn't work.  But:
>   dpkg -l `dpkg -S /usr/bin/nedit|cut -f1 -d':'`
> would.

Sorry, I don't understand why it shouldn't work. Here both commands have 
the same output.


More information about the ubuntu-users mailing list