Cleanup

System Maintenance & Optimization

🖥️ Windows Cleanup Tools

Tool/CommandTypePurpose
Disk CleanupGUIRemoves temp files, system cache, and thumbnails
Storage SenseGUIAutomates cleanup of unused files and recycle bin
CMD: `cleanmgr`CLILaunches Disk Cleanup via command line
CMD: `del /q /f /s %TEMP%\*`CLIForce deletes all temp files
PowerShell: `Get-ChildItem $env:TEMP -Recurse | Remove-Item -Force`CLIPowerShell method to clean temp folder

🍎 macOS Cleanup Tools

Tool/CommandTypePurpose
Finder > Go to Folder > ~/Library/CachesGUIManually clear user cache files
Disk Utility > First AidGUIChecks and repairs disk errors
Terminal: `sudo rm -rf ~/Library/Caches/*`CLIDeletes user cache via terminal
Terminal: `purge`CLIClears inactive memory (older macOS)
AppCleanerGUIRemoves apps and associated files cleanly

🐧 Linux Cleanup Tools

Tool/CommandTypePurpose
BleachBitGUISystem cleaner for cache, logs, and temp files
Terminal: `sudo apt autoremove`CLIRemoves unused packages (Debian/Ubuntu)
Terminal: `sudo apt clean`CLIClears local package cache
Terminal: `journalctl --vacuum-time=7d`CLIDeletes system logs older than 7 days
Terminal: `rm -rf ~/.cache/*`CLIClears user cache folder