Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
Distribution: Slackware (mainly) and then a lot of others...
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.
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.