Help answer threads with 0 replies.
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 02-17-2004, 01:22 AM   #1
LQ Newbie
Registered: Nov 2003
Posts: 7

Rep: Reputation: 0
Help: Accidently deleted file

Hey guys im a big ol newbie at linux and was just wondering if there is anyway i can get a file i accidently deleted from /usr/bin/ back

the file is /usr/bin/transcode

i have my reasons for accidently deleting this file and if i told you them it wouldn't sound so stupid but im not getting into that. i just need to know if i can get this file back i did it in command using rm transcode.
Main reason i need this file back is because i have the program installed but i cannot use it now because the executable thingy is gone
anyway help if you can anyone. Thanks

Last edited by patske; 02-17-2004 at 01:23 AM.
Old 02-17-2004, 01:39 AM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If you use ext3 I think there's a way, but maybe its quicker just reinstalling the app?
Old 02-17-2004, 01:47 AM   #3
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3595Reputation: 3595Reputation: 3595Reputation: 3595Reputation: 3595Reputation: 3595Reputation: 3595Reputation: 3595Reputation: 3595Reputation: 3595Reputation: 3595
Check out the LQ FAQ: Security references, post #5 "Forensics, recovery, undelete" for undelete HOWTO's and tools.
Old 02-17-2004, 08:43 AM   #4
LQ Newbie
Registered: Feb 2004
Distribution: Suse, Knoppix, Slackware
Posts: 27

Rep: Reputation: 15
I've never tried to undelete a file in Linux but if you want to go that way then it's imperative that you don't do any operation that will cause a write to the partition where that file resides as that may overwrite the sectors it used.

But I think the easiest thing for you to do would be to reinstall the application that this file comes from.
Old 02-17-2004, 10:24 AM   #5
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
1. unmount the partition on which the file was, if possible.
2. use debugfs to undelete the file (debugfs --help; man debugfs)

Old 02-17-2004, 10:34 AM   #6
LQ Newbie
Registered: Nov 2003
Posts: 7

Original Poster
Rep: Reputation: 0
thanx everyone for their help. I ended up just reinstalling regretably but it's fixed now, ill learn not to be so hast in my deletions next time


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
I accidently deleted /udev folder, what can I do? QuickTime Mandriva 1 09-29-2004 07:00 AM
accidently deleted /boot partition :( aditya_ic Linux - General 7 07-29-2004 03:37 AM
Accidently deleted GLIBC, any help for SuSE? Raj_Nair Linux - Distributions 0 06-30-2004 11:42 AM
I accidently deleted the lib directory ICO Slackware 2 02-10-2004 01:40 PM
Accidently deleted /dev/dsp MasterKin8T Linux - Newbie 2 01-29-2004 09:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:14 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
Open Source Consulting | Domain Registration