When you type a command, the first process that interprets it is the character-device driver.
The driver that you use depends on your hardware; for more information, see the entries for the devc-* character I/O drivers in the Utilities Reference.
For more information, see Character I/O in the System Architecture guide.