更新清理命令

This commit is contained in:
CallMeR
2025-01-06 17:23:57 +08:00
parent 7dceb23655
commit 777e4bb9d7
+1 -1
View File
@@ -637,7 +637,7 @@ $ apt clean && apt autoclean && apt autoremove --purge
$ rm -rvf /var/cache/apt/* /var/lib/apt/lists/* /tmp/*
## 清理系统日志
$ find /var/log/ -type f | xargs rm -rvf
$ find /var/log/ -type f -print -delete
## 清理命令历史记录文件
$ rm -rvf ~/.bash_history && history -c