xiaozi 2017-04-11 22:41:03

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

shell shell
lsof | grep deleted

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

# 如果需要清空,可以

:>filename

评论

trang chủ - Wiki
Copyright © 2011-2025 iteam. Current version is 2.142.1. UTC+08:00, 2025-04-05 19:36
浙ICP备14020137号-1 $bản đồ khách truy cập$