Trying to explore the various avenues for finding binaries in Linux & MS Windows.
locate reads one or more databases prepared by updatedb and writes
file names matching to standard output, one per line.
By default, locate does not check whether files found in database still
exist. locate can never report files created after the most recent
update of the relevant database.
Which takes one or more arguments. For each of its arguments it prints
to stdout the full path of the executables that would have been exe-
cuted when this argument had been entered at the shell prompt. It does
this by searching for an executable or script in the directories listed
in the environment variable PATH using the same algorithm as bash.
Displays the location of files that match the search pattern.
By default, the search is done along the current directory and in the paths specified by the PATH environment variable.