Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Tweeted twitter.com/ServerFault/status/1012380173428318208
deleted 157 characters in body
Source Link
Zoredache
  • 134k
  • 41
  • 284
  • 427

For my own future reference, howHow to find all Debian managed configconfiguration files which have been changed from the default:?

dpkg-query -W -f='${Conffiles}\n' '*' | awk 'OFS=" "{print $2,$1}' | md5sum -c 2>/dev/null | awk -F': ' '$2 !~ /OK/{print $1}' 

For my own future reference, how to find all Debian managed config files which have been changed from the default:

dpkg-query -W -f='${Conffiles}\n' '*' | awk 'OFS=" "{print $2,$1}' | md5sum -c 2>/dev/null | awk -F': ' '$2 !~ /OK/{print $1}' 

How to find all Debian managed configuration files which have been changed from the default?

Source Link
malclocke
  • 1.8k
  • 1
  • 12
  • 6

How to check for modified config files on a Debian system?

For my own future reference, how to find all Debian managed config files which have been changed from the default:

dpkg-query -W -f='${Conffiles}\n' '*' | awk 'OFS=" "{print $2,$1}' | md5sum -c 2>/dev/null | awk -F': ' '$2 !~ /OK/{print $1}'