Skip to content

Instantly share code, notes, and snippets.

@inclooder
Created August 25, 2014 08:53
Show Gist options
  • Save inclooder/199eb09b1e9ef271ab16 to your computer and use it in GitHub Desktop.
Save inclooder/199eb09b1e9ef271ab16 to your computer and use it in GitHub Desktop.
Find debian package which includes specific file name.
FILE_NAME=/usr/bin/baloo_file; dpkg -l | awk '/ii/ { print $2 }' | while read a; do dpkg -L $a | grep $FILE_NAME > /dev/null && echo $a ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment