在 Linux 系统语境下,“cleanup(清理)”通常指释放磁盘空间、删除无用文件、关闭残留进程、清理系统状态等操作。按对象/场景分类,常见包括以下几大类:
/tmp、/var/tmp~/.cache/var/log(如 messages、syslog、journal)journalctl --vacuum-size= 清理 systemd 日志apt clean / apt autocleanyum clean allpacman -Sc/boot 下 vmlinuz、initrd)du、ncdu、fdupesps、kill、pkillsystemctl disable/stop/etc/passwd、/etc/shadowchown、chmod 修复~/.bash_history、~/.cacheswapoff / swaponecho 3 > /proc/sys/vm/drop_cachesumountdocker system prunemake clean__pycache__、pip cachehistory -cshred✅ 如果你指的是某个具体工具(如 linux cleanup script、systemd cleanup、make cleanup),可以告诉我,我可以给更针对性的说明。