Created
June 7, 2021 12:52
-
-
Save microwaves/2413976870415afa5fa891320cc551c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find ghost deleted files from processes | |
find /proc/*/fd -ls | grep '(deleted)' | |
# Truncate | |
: > "/proc/$pid/fd/$fd" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment