LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 06: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, 08: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:12 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
Open Source Consulting | Domain Registration