Skip to content

Instantly share code, notes, and snippets.

@niedbalski
Created October 16, 2019 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niedbalski/f8bf7396facf6752e05f61d74bacd87e to your computer and use it in GitHub Desktop.
Save niedbalski/f8bf7396facf6752e05f61d74bacd87e to your computer and use it in GitHub Desktop.
search-refs.sh
for f in $(ldd /usr/sbin/named|cut -d" " -f1 | cut -d "." -f1); do sudo apt-cache search $f | grep dbgsym | grep $f | cut -d " " -f1| xargs apt -yyq install;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment