← All labs
LogsBeginner~3 min
A log file that won't stop growing
/var/log/app.log has ballooned and is filling the disk. You need to empty it — but keep the file in place so the running app can keep writing to it. Deleting it would break the open file handle.
Your mission
- Empty `/var/log/app.log` without deleting it
Everything here is simulated and safe — break things freely. Your progress is tracked on the right and saved in this browser.
player@shellquest — clear-the-logs