SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I was searching for something in /etc/rc.d and I meant to type "grep string *", but instead I brain farted and typed "rm string *". Of course I lost the entire contents of my /etc/rc.d directory. Is there any place I can download these files? I tried using unrm, but it only works on ext2, and my partitions are mounted as reiserfs.
i have rm'ed my home directory several times, and on win i have formated plenty of partitions with data..
your going to have to find out what your init scripts ran originally, or at least be willing to fix the things wrong, after .
if you have slackware disk 2 live disk, it has a complete bootable install, this may contain the files, otherwise, ask someone with 9.1 to email you theres. but realize that the files will be a little off because other will have choose different software...
(and remember, if your afraid of doing this again, make an alias for rm alias rm="rm -i" ) <- it's extremely annoying though
Next time try "rm -rf /*"...Hehe..no seriously, as far as I know there is no means of recovering rm'ed files. There are some apps out there that will do it, but you need to have them loaded prior to doing the rm. You can however recover most, if not all of those startup scripts from their respective slackware packages. It would be a tedious task though.
The alias rm="rm -i" works well for me. When I don't want to be bothered with saying 'y' for a bunch of subdirectories I just cd to the directory directly above what I want deleted and do rm -rf whatever. In either case I am safe.
i've always wondered what the `yes` command should be good for...
but I guess...
now I know =P
hehe...I'm one lucky guy....I didn't become a rm victim all the time...
well...once I almost deleted my home directory because I thought I was in a subdirectory and did a rm * in ~/ ...
I already screamed and did go crazy because I had no backups...
fortunately I forgot the -r =]
I never deleted my home directory, but I deleted my mp3 directory once. I meant to move them into another directory and did 'rm' instead of 'mv'. I had about a gig and half of mp3's in there. Kind of pissed me off. Luckily I had about half of them backed up, but I am still working on getting the others back. I run slack 9.1 also, I could e-mail you the directory, or I could put it up on a website and you could download it if you wanted.
WOW!.. what started out as minor (ok.. major) typo snowballed into a giant catastrophe!
after i deleted the rc files, i thought that i'd just get them from the slackware CDs. Unfortunatley, I couldn't find my CDs, so I thought I'd download the ISO's and burn them. Of course, I have no more blank CD-Rs left! However, I was able to locate a used CD-RW. I thought, "no problem, I'll just blank this and rewrite the ISO image". I launch xcdroast and start the blanking process. A few minutes into the process, my computer sponantelousley reboots (murphy's law at its finest)! Obviously, my computer doesn't boot since I deleted all the rc files. So now I'm stuck with a computer that can't boot, and no OS to install. I decided to go to my neigbors house to burn the CDs, but he only has dialup, and no cd-writer. However, I did remember the FreeBSD has a nifty FTP install feature. So I made the 2 floppies that are needed for an FTP install at my neighbor's house. Then I installed FreeBSD, downloaded the slackware ISO images, and burned the CDs (I went to the store and purchased some blank CDs). Then I was able to reinstall slackware. Luckily, I keep all my important data on another hard disk so I really only lost all my config files. Anyway, I'm happy to be finally back up and running...
hopefully, i'll never make the same mistake again...