From 7d8da1f68ef5395b7fed1739ff10f36d0523c9f2 Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Mon, 6 Jan 2025 18:01:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B8=85=E7=90=86=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= 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 91bc294..cb26906 100644 --- a/03.PVE系统调整.md +++ b/03.PVE系统调整.md @@ -637,7 +637,7 @@ $ apt clean && apt autoclean && apt autoremove --purge $ bash -c 'find /var/cache/apt /var/lib/apt/lists /tmp -type f -print -delete' ## 清理系统日志 -$ find /var/log/ -type f -print -delete +$ bash -c 'find /var/log/ -type f -print -delete' ## 清理命令历史记录文件 $ rm -rvf ~/.bash_history && history -c diff --git a/05.PVE制作虚拟机模板.md b/05.PVE制作虚拟机模板.md index 57c08bc..271b3a0 100644 --- a/05.PVE制作虚拟机模板.md +++ b/05.PVE制作虚拟机模板.md @@ -455,7 +455,7 @@ $ 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 find /var/log/ -type f -print -delete +$ sudo bash -c 'find /var/log/ -type f -print -delete' ## 清理命令历史记录文件 $ rm -rvf ~/.bash_history ~/.zsh_history ~/.zcompdump* && history -c