Determine an Application's Path in a UNIX Shell

Very often, due to start scripts of the used terminal or shell application, a great number of applications can be executed in every current directory just by typing the application’s name. In case one wants to know the path to such an application which is not lying in the current directory and is not part of the shell’s basic commands, these two commands help out:

type -p [application name]

which [application name]