This commit is contained in:
Tobias Schmidl 2019-02-22 08:55:25 +01:00 committed by GitHub
parent cd1f052991
commit c1b90ff2f9

View file

@ -6,6 +6,6 @@ find /var/log -type f -regextype posix-extended -regex '.*\.(gz|xz|[0-9])' -dele
truncate -s0 $HOME/.bash_history
[ -w $HOME/.zsh_history ] && truncate -s0 $HOME/.zsh_history
find /var/log -type f -exec truncate -s0 '{}' '+'
dd if=/dev/zero of=/emptyfile bs=4M;
dd if=/dev/zero of=/emptyfile oflag=sync bs=4M;
rm -f /emptyfile;
poweroff