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

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

lsof | grep deleted

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

# 如果需要清空,可以

:>filename

相关文章

mac 使用 tcpdump 抓包指定端口
自动将windows本地公钥写入linux服务器的bat
mac查看占用端口的进程
循环读取 txt 文件中的链接并下载
从 ttc 中提取 ttf 文件: ttc2ttf.pe
mac osx python 安装 mysqlclient