LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   bash error. (https://www.linuxquestions.org/questions/linux-desktop-74/bash-error-922042/)

dellthinker 01-04-2012 01:00 PM

bash error.
 
hi all, i'm having a error on a newly installed debian desktop.

Code:

bash: search: command not found
This isn't just the search command it's pretty much most of them. Any suggestions on how i can go about fixing this please. Thank you.

honeybadger 01-04-2012 01:42 PM

This is because 'search' is not a bash command. Try 'find' or 'locate'. BTW all the commands are in /sbin /bin /usr/sbin and /usr/bin. Ofcourse there are some applications eg ffmpeg that can be compiled as a binary but then this is a rare case.
Hope this helps.

David the H. 01-04-2012 03:17 PM

It would help greatly if you gave us some context for the problem. Provide a few details about what you were actually trying to do when you got that error. What was the exact command you used, for example, and what did you expect to get?

Also, is there anything you did before that that may have led to this error? Did you make some edits to your bashrc for example? It sounds like you may have modified your PATH variable so that it doesn't contain the default directories.


All times are GMT -5. The time now is 03:20 AM.