Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
markandrewj
on April 4, 2024
|
parent
|
context
|
favorite
| on:
A disk so full, it couldn't be restored
Depending on the environment you can also use the truncate command. This will work if the file is open as well.
https://man7.org/linux/man-pages/man1/truncate.1.html
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://man7.org/linux/man-pages/man1/truncate.1.html