xiaozi 2017-04-11 22:41:03

查看被删除,却还占用空间的文件(因为进程没有关闭文件)

shell shell
lsof | grep deleted

cp /proc/<pid>/fd/<filehandle> recovered.txt

# 如果需要清空,可以

:>filename

评论

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.152.0. UTC+08:00, 2026-02-05 16:21
浙ICP备14020137号-1 $Map of visitor$