LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-19-2008, 11:15 AM   #1
dave247
Member
 
Registered: May 2004
Posts: 204

Rep: Reputation: 30
I can't find my find command! how to replace?


my find command seemed to be corrupted so I removed it. I thought I had it backed up in a back up bin folder on my usb but its apparently not there!

So my questions is what is easiest way to reinstall the find command. Could I just copy it from another Debian box? Its just located in the /bin directory isnt it?

Last edited by dave247; 11-19-2008 at 11:24 AM.
 
Old 11-19-2008, 11:23 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,013

Rep: Reputation: 83
Depends on which flavour of Linux

on Ubuntu (or other debian based distros):

Code:
sudo apt-get install findutils
 
Old 11-19-2008, 11:32 AM   #3
dave247
Member
 
Registered: May 2004
Posts: 204

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Disillusionist View Post
Depends on which flavour of Linux

on Ubuntu (or other debian based distros):

Code:
sudo apt-get install findutils
Oh, I did that except I typed find instead of findutils.

Well I did that but it says its already at the newest version. If I try to remove it it warns me that its a harmful thing, so I dont know if I should apt-get remove findutils and then reinstall it.

What should I do?
 
Old 11-19-2008, 11:35 AM   #4
dave247
Member
 
Registered: May 2004
Posts: 204

Original Poster
Rep: Reputation: 30
Nevermind... I rebooted and it fixed itself.

Last edited by dave247; 11-19-2008 at 11:42 AM.
 
Old 11-19-2008, 11:51 AM   #5
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,013

Rep: Reputation: 83
For future reference, if you need to install something that the system tells you is already there, you can use the --reinstall option:

Code:
sudo apt-get install --reinstall findutils
 
  


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
Find & Replace Command Linux shokeer Linux - Newbie 23 01-31-2012 12:04 AM
Find and Replace dipuasks Linux - General 4 07-02-2008 02:52 PM
command line edit -- global find/replace on text file w/o going into vi car182 Linux - Newbie 4 05-25-2006 06:42 PM
sed - find and replace command bullshit Programming 9 01-05-2006 04:25 AM
find and replace in files from command line dexter_modem Linux - General 4 06-10-2003 12:27 PM


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