whereis command will show the location of the command in the disk. Eg: whereis man will show you where the man command is stored on the disk.