From d153773b1ff99062d40c0dc653d9e718008791cd Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Mon, 6 Jan 2025 18:09:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B8=85=E7=90=86=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 03.PVE系统调整.md | 2 +- 05.PVE制作虚拟机模板.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/03.PVE系统调整.md b/03.PVE系统调整.md index cb26906..c1219d1 100644 --- a/03.PVE系统调整.md +++ b/03.PVE系统调整.md @@ -634,7 +634,7 @@ PVE 系统配置完成后,可执行以下命令,对系统进行清理。 $ apt clean && apt autoclean && apt autoremove --purge ## 清理系统缓存 -$ bash -c 'find /var/cache/apt /var/lib/apt/lists /tmp -type f -print -delete' +$ bash -c 'find /var/cache/apt/ /var/lib/apt/lists/ /tmp/ -type f -print -delete' ## 清理系统日志 $ bash -c 'find /var/log/ -type f -print -delete' diff --git a/05.PVE制作虚拟机模板.md b/05.PVE制作虚拟机模板.md index 271b3a0..f4cc283 100644 --- a/05.PVE制作虚拟机模板.md +++ b/05.PVE制作虚拟机模板.md @@ -452,7 +452,7 @@ Debian 模板虚拟机已经配置完成,在将其转换为模板前需要对 $ sudo bash -c 'apt clean && apt autoclean && apt autoremove --purge' ## 清理系统缓存 -$ sudo bash -c 'find /var/cache/apt /var/cache/smartdns /var/lib/apt/lists /tmp -type f -print -delete' +$ sudo bash -c 'find /var/cache/apt/ /var/cache/smartdns/ /var/lib/apt/lists/ /tmp/ -type f -print -delete' ## 清理系统日志 $ sudo bash -c 'find /var/log/ -type f -print -delete'