Contents
How do you clear a log file?
Delete Saved Console.log
- Launch Event Viewer → File (in the menu) → Options (here you’ll see the disk space in your file and how much space your saved files have consumed in your profile).
- Hit Disk Cleanup and then Delete Files.
- Now Exit and hit OK.
How do you zero out a file in Linux?
5 Ways to Empty or Delete a Large File Content in Linux
- Empty File Content by Redirecting to Null. …
- Empty File Using ‘true’ Command Redirection. …
- Empty File Using cat/cp/dd utilities with /dev/null. …
- Empty File Using echo Command. …
- Empty File Using truncate Command.
1 дек. 2016 г.