LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   "accidently deleted every program in /usr/bin that begins with the letter m*" (https://www.linuxquestions.org/questions/linux-from-scratch-13/accidently-deleted-every-program-in-usr-bin-that-begins-with-the-letter-m%2A-313340/)

behmjoe 04-14-2005 06:41 PM

"accidently deleted every program in /usr/bin that begins with the letter m*"
 
Hi,

I make a mistake instead of typing ls /usr/bin/m* I typed rm /usr/bin/m*.
I was wondering if anyone had any suggestions on how i could save my system I still have the /tools directorie. If noone can really help me could someone list all the /usr/bin/m* programs. I know of /usr/bin/make, and also /usr/bin/mtrace, but i'm drawing a blank on the others.

thanks

TruckStuff 04-15-2005 08:42 AM

First let me say: ROFL! Actually, that really sucks... but its still funny. :D

md5sum.... mkdir....mv... mknod.... the list goes on.

Start chapter 6 over and reinstall any package that contains a program starting with "m". Remeber there is a pretty good list of programs that are installed at the bottom of every package page in the LFS book.

Then add the following to your ~/.bashrc:
Code:

alias rm="rm -i"
to prevent deleteing files without asking.


All times are GMT -5. The time now is 11:54 PM.