This commit is contained in:
parent
68c9aabe5e
commit
1ec3f99d30
1 changed files with 1 additions and 1 deletions
|
@ -6,6 +6,6 @@ find /var/log -type f -regextype posix-extended -regex '.*\.(gz|xz|[0-9])' -dele
|
||||||
truncate -s0 $HOME/.bash_history
|
truncate -s0 $HOME/.bash_history
|
||||||
[ -w $HOME/.zsh_history ] && truncate -s0 $HOME/.zsh_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 oflag=sync status=progress bs=4M;
|
dd if=/dev/zero of=/emptyfile oflag=dsync status=progress bs=4M;
|
||||||
rm -f /emptyfile;
|
rm -f /emptyfile;
|
||||||
poweroff
|
poweroff
|
||||||
|
|
Loading…
Reference in a new issue