From 0bd3a7cd36df2ad96aa663ce36d860ac6a3bcfa0 Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Tue, 30 Jan 2024 18:17:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E5=90=88=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 | 5 +---- 05.PVE制作虚拟机模板.md | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/03.PVE系统调整.md b/03.PVE系统调整.md index 6760b8a..2bf3698 100644 --- a/03.PVE系统调整.md +++ b/03.PVE系统调整.md @@ -580,10 +580,7 @@ $ rm -rvf /var/cache/apt/* /var/lib/apt/lists/* /tmp/* $ find /var/log/ -type f | xargs rm -rvf ## 清理命令历史记录文件 -$ rm -rvf ~/.bash_history - -## 清理命令历史 -$ history -c +$ rm -rvf ~/.bash_history && history -c ``` 至此 PVE 的系统调整已经完成。 diff --git a/05.PVE制作虚拟机模板.md b/05.PVE制作虚拟机模板.md index 1bafdd5..4a751fd 100644 --- a/05.PVE制作虚拟机模板.md +++ b/05.PVE制作虚拟机模板.md @@ -450,10 +450,7 @@ $ sudo rm -rvf /var/cache/apt/* /var/lib/apt/lists/* /tmp/* $ sudo find /var/log/ -type f | xargs sudo rm -rvf ## 清理命令历史记录文件 -$ rm -rvf ~/.bash_history ~/.zsh_history - -## 清理命令历史 -$ history -c +$ rm -rvf ~/.bash_history ~/.zsh_history && history -c ## 关闭系统 $ sudo shutdown now