Up to RISC OS software

Home

[where]where/whereis and [which]which

Ever wondered where your commands reside? Whether they are aliases, module commands or live somewhere along Run$Path? Especially since more and more command-line tools get ported to RISC OS and they all extend Run$Path or add more and more modules.
These little utilities find your commands for you.

They behave like the unix commands of the same name:
where (or whereis) will find all occurences of a (possibly wildcarded) command,
which will find the first (unless the -a switch/option/modifier is provided, in which case it will behave like where.

The program(s) should be placed somewhere on your path, e.g. in $.!Boot.Library if you are using the new !Boot structure or $.Library on older machines. RISC OS Select and Adjust users may want to use directory $.!Boot.Library.User.

The utilities can be run from the command line (F12) or from a task window (ctrl-F12) or from desktop frontends that require the DDE modules (provided with Acorn/Norcroft C and C++) or its freeware replacement DDEutilsCy. A recent version of DDEutilsCy is included in the GCC development suite for RISC OS, see gccsdk.riscos.info.

Download (32 bits, version 1.23).

Home

Up to RISC OS software