next up previous contents
Next: who - List users Up: Other Useful Commands Previous: wc - Count characters,   Contents

which - Shows the full path of a command

Example:-

which myexe
See if the executable file ``myexe'' exists in any directory contained in the environmental variable PATH and if so list its full path.



P.D. Gronbech (IT Staff) 2015-10-02