LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 06-27-2006, 01:33 AM   #1
ricka343
Member
 
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, 01:52 AM   #2
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

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

http://www.linuxquestions.org/questi...d.php?t=457810

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

Rep: Reputation: 48
Quote:
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.
 
  


Reply


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 08:49 AM
how to recover deleted file in linux from textmode without using any recoverytool sitthar Linux - General 3 06-16-2006 08:10 AM
How to recover deleted file v1nc3nt Linux - Newbie 5 05-23-2006 04:28 AM
How to recover a deleted file from ext3 filesystem ? Honor Linux - Software 1 12-21-2005 01:36 PM
Recover My Deleted File & Folder rajaniyer123 Linux - General 0 03-12-2004 01:51 AM


All times are GMT -5. The time now is 03:58 AM.

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