Whats the difference between “which” and “whereis?” I'm sorry but on my 10 5 8 OS X system which and whereis always give the same results Maybe this is a very OS X specific question, since I agree, a different result is expected Maybe whereis does not comply to what it should do At least the two examples (see below) are not working: whereis ls and whereis php always give the same result as
command line - Windows equivalent of whereis? - Super User I think for the sake of seacheability it would make sense to inculde type and which in the question title, along with whereis which I personally used only occasionally type is a popular Bash built-in and which is a variant of whereis restricted to searching commands (whereis can also search for man pages and the like) –
What has happened to whereis. com? - On the internet - Whirlpool Forums www whereis com au works fine here – work PC with Firefox 52 3 0 (32-bit) Edit to ask – What browser and system are you on? Well it just so happens that last night I was recommended to try a Firefox-based browser called IceDragon
linux - which and whereis - Super User Here is an exerpt from man whereis : whereis - locate the binary, source, and manual page files for a command So the second line you get contains both the binary location but also resources used by this app like the man page location, and sources
bash - How do I know the exact and complete Linux whereis command . . . For the last part of your question, why folders are found as binaries, I speculate that whereis finds everything as binary in the specified folders, even _un_executable (empty) files: $ touch usr share foo $ whereis foo foo: usr share foo What's the intention of that -- I don't know But all in all I think whereis is a little
Where is the start button? - Microsoft Community This was in an answer to Q I posted: "Open Documents by clicking the Start button , and then clicking Documents " Where is the start button? Or is this old information? Virgi
whereis and which return different paths in Mac OS X The whereis utility checks the standard binary directories for the specified programs, printing out the paths of any it finds The path searched is the string returned by the sysctl(8) utility for the ``user cs_path'' string
Why whereis and which dont show me location of command? whereis and which only search specific locations man whereis: The whereis utility checks the standard binary directories for the specified programs, printing out the paths of any it finds man which: The which utility takes a list of command names and searches the path for each executable file that would be run had these commands actually been