If you want to empty large log files (aka lots of GB) without deleting the file, here’s how you can do that:
nix# > mylargelog.log
or
nix# echo " " > mylargelog.log
Tadaa!!
If you want to empty large log files (aka lots of GB) without deleting the file, here’s how you can do that:
nix# > mylargelog.log
or
nix# echo " " > mylargelog.log
Tadaa!!