Solved

Recover files after executing 'rm'

Posted on 2003-10-27
6
3,118 Views
Last Modified: 2013-12-27
Accedentally I have remove my files using 'rm'. Is there any recovery procedure to get back my files which were deleted by 'rm'. I am using Solaris 5.3.

I am waiting for your reply.

regards,
Subhasis.
0
Comment
Question by:mitra_subhasis
  • 2
6 Comments
 
LVL 6

Expert Comment

by:bummerlord
Comment Utility

First of all - don't write anything to that disk!!!! If you have the operating system installed on the same disk, then shut it down, hook the disk into another machine and access the disk from another OS installation.

Then look at for instance http://www.fish.com/tct/help-recovering-file

Hope it helps.

0
 
LVL 34

Accepted Solution

by:
PsiCop earned 50 total points
Comment Utility
Regrettably, rm can generally only be regretted.

bummerlord's link offers you a way to possibly recover the information, based on a lot of ifs. If you have sufficient disk space, if the filesystem is not terribly active, if you have a method of picking out the file contents from among the mass of data you're going to get. I'm not saying unrm/lazarus is poor software or the idea is a lost cause, but you need to look at those docs and weigh if that route is worth the value of the data. After all, how valuable could it have been if you weren't backing it up?
0
 
LVL 1

Expert Comment

by:riaanvd
Comment Utility
I agree with PsiCop.

Generally it's not worth the effort unless your job or something else is on the line and then there's always the possibility that your data will not be recovered by the process. Good luck
0
 
LVL 34

Expert Comment

by:PsiCop
Comment Utility
Hello? If your Question has been answered, please close it.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now