Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-05-2012, 06:04 AM   #1
Registered: Oct 2012
Posts: 36

Rep: Reputation: Disabled
Is there way to recover a overwritten log file.

While renaming a file, it happened to overwrite a log file.Is there any to return back the original data.
Old 10-05-2012, 06:35 AM   #2
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi, if you're lucky the FS has renamed the old file as "filename~"

Check that first, you may need to open "as text file" or access it from a text editor and

then rename the file <edit>and save it in /home/.... You may not be able to save to /usr/log

HTH, Glenn

Last edited by GlennsPref; 10-05-2012 at 06:37 AM. Reason: spelling


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
recover files from ext4 file system overwritten by new installation nsupathy Linux - General 1 07-03-2011 05:52 AM
[SOLVED] How to Recover Deleted (partly overwritten) Files in /home on ext3 fs, ubuntu 6.06 the_new_z Linux - Newbie 3 08-05-2010 02:44 PM
how to recover overwritten file Imtiaz Deen Linux - General 11 03-31-2010 11:24 PM
How can I recover firefox which was overwritten bhatmahesht Linux - Software 1 05-05-2008 06:18 AM
need to recover from disk partion info being overwritten jhoggatt Linux - General 6 03-01-2007 05:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:50 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