Disk cleanup / space management


I’m using dietpi basically as an appliance for PiHole - a basic VM somewhere. Very simple.
I ran a dietpi-update, but I’m curioous if there’s any maintenance cleanup of files I should be doing?

I only know a little linux but I know of apt cleanup or clean? autoclean - that kind of thing.

Do I need to do any of that on this system or no?


Many thanks for your report. There is no need to do anything in addition if your system is running fine.

One way to ensure your filesystem isn’t filling up

Go to the root folder and do a df -h and it will list what is being used and how much is free

Linux doesn’t need a “cleanup” like window$ as it doesn’t create massive amounts of bloat…now log files can get rather large but should autoclean themselves