Terminal new window always shows -bash: Searching: command not found

Have you edited your ~/.bash_profile, ~/.bash_login or ~/.profile files recently? When you open a new “Terminal” session it will load all three of those files in that exact order and set any variables or commands that might be set in those files. Look in each file like this; using nano in this example but feel free to use whatever plain-text editor you prefer:

nano  ~/.bash_profile

nano  ~/.bash_login

nano  ~/.profile

Note that on a typical Mac OS X system only ~/.bash_profile will actually be set; ~/.bash_login and ~/.profile are optional but worth checking just in case.

And looking at the wording of the error it looks like Bash is attempting to run a command named Searching. You can replicate this behavior by opening up a “Terminal” session, ignoring those odd errors you have and just typing:

Searching

And hit return. The error returned will be:

-bash: Searching: command not found

So I would check all three of those init files—~/.bash_profile, ~/.bash_login and ~/.profile—and see if Searching is entered as a command on any one of those lines and removing it.

Also, if you are nervous about deleting anything in those files, just comment out the lines with a # and see what happens. As long as the command is commented out, it won’t run. And if it won’t run, no more error.