This commit is contained in:
parent
6be7ab800a
commit
51ad5f1768
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ find /var/lib/apt -type f -delete
|
||||||
find /var/cache/apt -type f -delete
|
find /var/cache/apt -type f -delete
|
||||||
find /var/log -type f -regextype posix-extended -regex '.*\.(gz|xz|[0-9])' -delete
|
find /var/log -type f -regextype posix-extended -regex '.*\.(gz|xz|[0-9])' -delete
|
||||||
truncate -s0 $HOME/.bash_history
|
truncate -s0 $HOME/.bash_history
|
||||||
|
[ -w $HOME/.zsh_history ] && truncate -s0 HOME/.zsh_history
|
||||||
find /var/log -type f -exec truncate -s0 '{}' '+'
|
find /var/log -type f -exec truncate -s0 '{}' '+'
|
||||||
dd if=/dev/zero of=/emptyfile bs=4M;
|
dd if=/dev/zero of=/emptyfile bs=4M;
|
||||||
rm -f /emptyfile;
|
rm -f /emptyfile;
|
||||||
|
|
Loading…
Reference in a new issue