mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 22:12:51 +08:00
更新清理命令
This commit is contained in:
+1
-1
@@ -637,7 +637,7 @@ $ apt clean && apt autoclean && apt autoremove --purge
|
|||||||
$ rm -rvf /var/cache/apt/* /var/lib/apt/lists/* /tmp/*
|
$ 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
|
$ rm -rvf ~/.bash_history && history -c
|
||||||
|
|||||||
Reference in New Issue
Block a user