LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-30-2008, 03:37 AM   #1
rupeshukla
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
Angry I have deleted rc.d from /etc. How can I recover it?


how can this file rc.d can be recovered.please suggest.I dont think my machine will be able to restart.
 
Old 06-30-2008, 04:10 AM   #2
Honeysuckle
Member
 
Registered: Dec 2007
Location: Australia
Distribution: Puppy, debian
Posts: 118

Rep: Reputation: 15
Have you looked in the trash? (left click on traschcan, right click on the file you want to restore, choose "restore")
 
Old 06-30-2008, 04:16 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by rupeshukla View Post
how can this file rc.d can be recovered.please suggest.I dont think my machine will be able to restart.
How did you delete it?

Why did you delete it?

What distro are you using?

What file-system is /etc on?



Cheers,
Tink


P.S.: Why are you working with root-privileges?
 
Old 06-30-2008, 11:53 PM   #4
rupeshukla
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Deleted rc.d file from /etc. I am using redhat5u1.

It is a VM machine and i am accessing from the terminal so there is no trash bin facility available. How can I recover it? I was in the root mode for cleaning the uncleanly uninstalled product.
 
Old 07-01-2008, 12:02 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Probably this thread should have been a reply reply in this thread

// as threads have been merged, this reply can be ignored

Last edited by Wim Sturkenboom; 07-01-2008 at 07:07 AM.
 
Old 07-01-2008, 04:21 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by rupeshukla View Post
It is a VM machine and i am accessing from the terminal so there is no trash bin facility available. How can I recover it? I was in the root mode for cleaning the uncleanly uninstalled product.
Can you boot the VM in rescue mode from CD?

And what was the "uncleanly uninstalled product"?

Cheers,
Tink
 
  


Reply



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
How to recover deleted Files sundar_reddy Linux - Software 2 10-25-2007 06:00 PM
recover deleted files ashishjen Linux - Newbie 5 02-02-2007 02:23 PM
Recover Deleted Files thammerlund Linux - Newbie 4 07-13-2006 10:40 PM
How to recover deleted file v1nc3nt Linux - Newbie 5 05-23-2006 03:28 AM
how to recover deleted files sibtay Linux - Software 13 01-22-2005 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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