- A command is a specific instruction given to a computer application to perform some kind of task or function.
- Command prompt is a command line interpreter application available in most windows operating system. It is used to execute entered commands.
- Most of these commands automate tasks via scripts and batch files, perform advanced administrative functions, and troubleshoot or solve certain kinds of Windows issues.
- Command prompt is also called as cmd prompt or even by its filename, cmd.exe.
- Command prompt interact with the user through a command line interface.
- Command line interfaces and prompts were the standard interface for computers from the early days into the 1980s.
- MS-DOS systems and other early consumer market computers were CLI-based.
- Current Windows systems offer the CLI for administrative tasks.
- The CLI is still an essential part of Linux use.
How to access the command prompt:
- Press "Windows + R" and type "cmd" then click "OK".
- File compare: We can use this command to identify differences in text between two files. It’s particularly useful for writers and programmers trying to find small changes between two versions of a file. Simply type “fc” and then the directory path and file name of the two files you want to compare.
- Ping: Ping followed by an IP address or web domain will send a series of test packets to the specified address. If they arrive and are returned, you know the device is capable of communicating with your PC.