xiaozi 2017-04-11 22:41:03

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

shell shell
lsof | grep deleted

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

# 如果需要清空,可以

:>filename

评论

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.150.0. UTC+08:00, 2026-02-02 04:34
浙ICP备14020137号-1 $访客地图$