Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 04-14-2005, 06:41 PM   #1
Registered: Mar 2005
Posts: 80

Rep: Reputation: 15
"accidently deleted every program in /usr/bin that begins with the letter m*"


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.

Old 04-15-2005, 08:42 AM   #2
Registered: Apr 2002
Posts: 498

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

md5sum.... 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:
alias rm="rm -i"
to prevent deleteing files without asking.


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
"/usr/bin/ls: reading directory .: Input/output error" DiZi Slackware 15 07-13-2008 10:03 AM
Accidently deleted the wastebin, now no "bin icon jebus69 Linux - Newbie 6 11-23-2005 08:34 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
invalid binary "/usr/bin/postgres" while running postgresql ukrainet Linux - Newbie 1 12-01-2004 08:36 AM
what is "S" instead of "X" in the file permission when i look at /usr/bin/chsh? Linux_interest Linux - Newbie 4 08-28-2004 09:22 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:40 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