linux command error message bash: /usr/bin/find: No such file or directory
Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have readhat 7.1 machine, it worked fine. Suddenly it started giving error message for all the command. I was not able execute ls ,du, find commands. It giving the error message.
bash-2.04# find
bash: /usr/bin/find: No such file or directory
bash-2.04# du
bash: /usr/bin/du: No such file or directory
If I copy the command file from some other machine, its working.
re-installed findutils pkg. now find command is working.
But du command is not working. see the following output
[build@linux2 build]$ ls -l /usr/bin/du
-rwxr-xr-x 1 root root 22460 Mar 14 2001 /usr/bin/du*
[build@linux2 build]$ /usr/bin/du
bash: /usr/bin/du: No such file or directory
[build@linux2 build]$ du
bash: /usr/bin/du: No such file or directory
[build@linux2 build]$
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.