Obtain Kernel Config from Currently Running Linux System
17 Sep 2023
cat /boot/config-$(uname -r) > filename.config
cat filename.config|grep 'CONFIG_PM_TRACE_RTC'
cat /boot/config-$(uname -r) > filename.config
cat filename.config|grep 'CONFIG_PM_TRACE_RTC'
dpkg -l | grep "^rc" | awk '{print $2}' | sudo xargs dpkg -P
https://www.ostechnix.com/remove-unnecessary-configuration-files-on-deb…