Get command type in bash

There are two types of commands in bash: internal (builtin) and external (binaries) commands.

The type can be determined by type command. For example:

$ type echo
echo is a shell builtin
$ type mv
mv is /usr/bin/mv