The command prompt is a Windows-only program that allows you to execute commands on your computer. A terminal is a text-based interface that allows you to access a Unix-like operating system. The command prompt is a specific instance of a terminal. In Windows, the command prompt is cmd.exe and in Linux, the terminal is bash.