LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-14-2005, 07:41 PM   #1
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

Rep: Reputation: 15
"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
 
Old 04-15-2005, 09:42 AM   #2
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

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

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.
 
  


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
"/usr/bin/ls: reading directory .: Input/output error" DiZi Slackware 15 07-13-2008 11:03 AM
Accidently deleted the wastebin, now no "bin icon jebus69 Linux - Newbie 6 11-23-2005 09:34 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 05:51 AM
invalid binary "/usr/bin/postgres" while running postgresql ukrainet Linux - Newbie 1 12-01-2004 09: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 10:22 AM


All times are GMT -5. The time now is 03:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration