i feel i ought to repeat myself: you really ought to use: type [command ...]
some problems with the manual: * you have to type `man sh'. you cant type `man type'. * sh(1) does not explain that `tracked alias' in the output of `type' relates to the output of `hash'. see `hash' in sh(1). some problems with the other commands: * some are not a part of the shell. they cant tell you about shell stuff. * some just echo back function names, etc. * some are ksh(1) features. ksh(1) features are often buggy, etc.