Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot find "ls" "cp" commands

Status
Not open for further replies.

dwijayaw

Programmer
May 10, 2002
2
0
0
CA
Hi all


After a power outage, we had trouble booting linux machine(some kind of disk error). My co-worker somehow got in and ran fsck on all disks to fix it.

Now we cannot find "ls" "cp" commands. PATH variable is set properly. /usr/bin has some binaries, but no "ls" or "cp".

Even "find / ls" failed to locate these files

I couldn't reboot using floppy which caused a "Kernel Panic".


I am new to this, please help..

dino
 
Check your /bin directory, Your user accounts sound messed up.

Also if your looking for a file with a name you know like ls or cp, use the -name option with find. Example. find / -name ls.

You will have much better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top