Redian新闻
>
急救: 用rm 删除的文件可以恢复吗?
avatar
急救: 用rm 删除的文件可以恢复吗?# Unix - 噫吁兮,危乎高哉
W*t
1
一不小心把作了很久的代码都删了, 能恢复吗? 谢谢.
avatar
w*n
2

you didn't tell us teh OS you are using, so we can't give specific answer.
in general, if it is a managed computer, when there are somebody acting as
dedicated admin, ask them to restore your backup. if it is your personal
computre, when yourself is the admin, you should stop using it at once,
umount the partition or mount it readonly, then find ways for your OS and
file system.
in the case of source files, there are big chance to recover them, as long
as you stop using the partition immediate

【在 W*******t 的大作中提到】
: 一不小心把作了很久的代码都删了, 能恢复吗? 谢谢.
avatar
W*t
3
Thanks alot.
It is Red hat linux
Is there any specific answer for that? Thanks alot.

strings(1),

【在 w*****n 的大作中提到】
:
: you didn't tell us teh OS you are using, so we can't give specific answer.
: in general, if it is a managed computer, when there are somebody acting as
: dedicated admin, ask them to restore your backup. if it is your personal
: computre, when yourself is the admin, you should stop using it at once,
: umount the partition or mount it readonly, then find ways for your OS and
: file system.
: in the case of source files, there are big chance to recover them, as long
: as you stop using the partition immediate

avatar
w*n
4

did you try the solutions before? if you are using EXT2 file system,
you can try something like ext2 debug utility, but that needs knowledge
of EXT2 file system.

【在 W*******t 的大作中提到】
: Thanks alot.
: It is Red hat linux
: Is there any specific answer for that? Thanks alot.
:
: strings(1),

avatar
D*g
5
Study it at google university, there is a lot of useful information there

【在 w*****n 的大作中提到】
:
: did you try the solutions before? if you are using EXT2 file system,
: you can try something like ext2 debug utility, but that needs knowledge
: of EXT2 file system.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。