I want to find all programs with name like "gcc", "gcc-4.2", "gcc-4.9" and so on. To find all binaries I tried with which -a gcc*. But "*" is not recognized as 'any' with which command. Is there ...
When I which mex at the linux system it gives a path but I want to change this path to another one. How can I set this default path to another location ?
If I have a colon-separated path list, much like $PATH, but not neccessarily $PATH. I want to search that list for a specific file name. However, I only want the first matching path. I have ...
Possible Duplicate: Windows equivalent of whereis? For Linux/Mac I can use which to locate the file. What would be the equivalent to this command line tool of which?
I have a two seperate files on my computer, which execfile /usr/local/bin/ /usr/bin/ so, i have two files with the same name in two different directories. How can I specify exactly which command ...