LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-15-2004, 04:47 AM   #1
johnlittlepeap
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Rep: Reputation: 0
-bash: cp: command not found


I get the error above whenever I try to run the cp command. Its seems to have gone missing?? Has anybody heard of something like this before? I'm using RedHat 9.0.

Failing somebody knowing something about this, does anybody know a quick workaround?

I don't know what could have deleted the command.

John
 
Old 11-15-2004, 04:56 AM   #2
cryptwizard
Member
 
Registered: Aug 2004
Location: Sydney, Australia
Distribution: Debian Squeeze
Posts: 49

Rep: Reputation: 15
Try doing "yum install coreutils" then "rpm --freshen [path show at end of previous command]"
[path shown at end of previous command] is typically somthing like:
//var/cache/yum/development/packages/coreutils-5.2.1-32.i386.rpm
so example:
rpm --freshen //var/cache/yum/development/packages/coreutils-5.2.1-32.i386.rpm

The above commands reinstall/update the coreutils package which contains basic system commands.
 
Old 11-15-2004, 08:52 AM   #3
johnlittlepeap
LQ Newbie
 
Registered: Oct 2004
Posts: 5

Original Poster
Rep: Reputation: 0
yum, I like that, cheers
 
  


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
Bash: command not found! Adil_uk Linux - General 14 04-09-2012 01:04 AM
bash: g++: command not found m_lp_ql_m Linux - Software 8 07-08-2010 01:45 PM
bash: pg: command not found Chomper Programming 2 02-05-2005 02:22 AM
bash -command not found- K3V Linux - Newbie 7 09-30-2004 03:57 PM
bash: command not found jc80 Fedora 3 03-14-2004 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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