LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-09-2005, 05:44 PM   #1
swatward
Member
 
Registered: Jan 2005
Distribution: slackware
Posts: 83

Rep: Reputation: 15
I deleted /bin/ls in slackware 10.1


I accidentally Cp'd over the ls in slackware 10.1
how can I get it back or reinstall it. It is also a remote box that i access
through SSH so its kind of hard to have physical access. I could copy ls through Knoppix, but that is a little difficlult. Any suggestions?
thanks
 
Old 12-10-2005, 01:48 AM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
the ls command is contained in the
coreutils-5.2.1-i486-1.tgz package

ssh into the box then
wget ftp://ftp.slackware.com/pub/slackwar...2.1-i486-1.tgz

then

installpkg coreutils-5.2.1-i486-1.tgz

need to be done as root, that will replace the lost file.
if you are sure that is the only file then you can simply extract it from that tgz instead of installing the package
 
Old 12-10-2005, 03:04 PM   #3
swatward
Member
 
Registered: Jan 2005
Distribution: slackware
Posts: 83

Original Poster
Rep: Reputation: 15
Great, works perfect, thanks a lot
 
  


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
Accidently deleted the wastebin, now no "bin icon jebus69 Linux - Newbie 6 11-23-2005 08:34 PM
deleted trash bin + desktop folder?? psa Linux - Newbie 3 01-26-2005 11:43 PM
Accidentally deleted /usr/bin/net larley Linux - General 2 07-26-2004 10:22 PM
How to make deleted files auto go to trash bin? subaruwrx Slackware 1 07-24-2004 10:10 AM
Deleted Bin, Daemon, Adm, and Lp Users, now to fix it... KneeLess Linux - Newbie 3 05-17-2003 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:50 AM.

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