LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 04: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, 05: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, 05:16 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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 07-01-2008, 12:53 AM   #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, 01:02 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

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 08:07 AM.
 
Old 07-01-2008, 05:21 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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


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


All times are GMT -5. The time now is 10:15 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration