You may need sudo:
sudo dpkg --configure -a
Yes, the terminal can and will recognize the command.
Please see here: