LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 06-27-2006, 12: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, 12: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, 03:28 AM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 47
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I recover a deleted file in Linux ? josedsilva Linux - General 10 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


All times are GMT -5. The time now is 02:37 AM.

Main Menu
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