<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Free Disk Space :: Ay Docs</title>
    <link>https://ops.docs.72602.space/linux/scripts/cleanup/index.html</link>
    <description>Cleanup find first 10 biggest files dnf install ncdu # 找出当前目录下最大的10个文件/目录 du -ah . | sort -rh | head -n 10 # 找出家目录下大于100M的文件 find ~ -type f -size +100M -exec ls -lh {} \; | awk &#39;{ print $9 &#34;: &#34; $5 }&#39; clean cache rm -rf ~/.cache/* sudo rm -rf /tmp/* sudo rm -rf /var/tmp/* clean images # 删除所有停止的容器 podman container prune -y # 删除所有未被任何容器引用的镜像（悬空镜像） podman image prune # 更激进的清理：删除所有未被运行的容器使用的镜像 podman image prune -a # 清理构建缓存 podman builder prune # 最彻底的清理：删除所有停止的容器、所有未被容器使用的网络、所有悬空镜像和构建缓存 podman system prune podman system prune -a # 更加彻底，会删除所有未被使用的镜像，而不仅仅是悬空的</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate></lastBuildDate>
    <atom:link href="https://ops.docs.72602.space/linux/scripts/cleanup/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>