mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-10-31 03:54:13 +08:00
更新清理命令
This commit is contained in:
1 parent
2c48e3a330
commit
a410d925f4
1 file changed
+1
-1
+1
-1
@@ -450,7 +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 ~/.zcompdump* && history -c
|
||||
|
||||
## 关闭系统
|
||||
$ sudo shutdown now
|
||||
|
||||
Reference in new issue
Block a user