Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-27-2006, 12:33 AM   #1
Registered: Jun 2006
Posts: 54

Rep: Reputation: 15
I have deleted a file thru rm can i recover it

Please help its urgent

it was a .java file i hav its .class wid me but the .java i hav deleted accidently
Old 06-27-2006, 12:52 AM   #2
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
The following thread discusses a similar problem:

best of luck!
Old 06-27-2006, 03:28 AM   #3
Senior Member
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 50
Originally Posted by ricka343
Please help its urgent

it was a .java file i hav its .class wid me but the .java i hav deleted accidently
In general, no; rm is designed to delete permanently. Limited undelete may be possible depending on your filesystem. What is your filesystem?

Java bytecode can usually be decompiled pretty easily. If it is important that you have some source code, then here are some old decompilers you can try: Jad, JODE. It won't be the same as the original source code (the names of variables, comments, and some of the structure of the code will be lost), but it will give working source code.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I recover a deleted file in Linux ? josedsilva Linux - General 9 01-05-2010 07:49 AM
how to recover deleted file in linux from textmode without using any recoverytool sitthar Linux - General 3 06-16-2006 07:10 AM
How to recover deleted file v1nc3nt Linux - Newbie 5 05-23-2006 03:28 AM
How to recover a deleted file from ext3 filesystem ? Honor Linux - Software 1 12-21-2005 12:36 PM
Recover My Deleted File & Folder rajaniyer123 Linux - General 0 03-12-2004 12:51 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration