Re: Deleting unused configuration files
O/H John Merchant έγραψε:
> Hello all, I have a lot of unused configuration files left in /etc from
> removed packages. Is there any way I can automatically remove them all?
>
Hi,
with
dpkg -l | grep '^rc' | awk '{print $2}'
you can see all the packages that have been removed but there are left
over configuration files. Then you can delete these with
aptitude purge `dpkg -l | grep '^rc' | awk '{print $2}'`
I hope this is what you are looking for.
> Cheers,
> John
>
Georgios
Reply to: