xiaozi 2017-04-11 22:41:03

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

shell shell
lsof | grep deleted

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

# 如果需要清空,可以

:>filename

评论

首页 - Wiki
Copyright © 2011-2025 iteam. Current version is 2.140.1. UTC+08:00, 2025-02-05 19:58
浙ICP备14020137号-1 $访客地图$