I accidentally removed a file in Solaris Version 5.10 using rm.

Can I recover this file in some way or another?

  • If you have taken any snapshots/backups then you can, else I am afraid it's gone. – neuron Jul 20 '15 at 16:39
  • There are some professional software(some expensive, some not) that can go through lots of complicated processes to retrieve you file, but conventionally: Your File is Gone! You can alias rm to rm -i... But in my opinion you just get used to typing yes at the prompt... This will always happen sooner or later, so my advice is: make backups! This helps A LOT! If it was a file that comes with Solaris, then you can look up a copy online. – Interesting... Jul 20 '15 at 17:13

You don't mention which filesystem type. If it's ufs rather than zfs, the UFS Explorer product may be able to restore the file.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.