Command

  1. A word or set of words that, when typed or in some cases spoken, will cause the computer to perform a certain operation. For example, at a MS-DOS prompt when typing "dir" command the user would see a listing of files in the current directory.

    See the MS-DOS page for a listing of MS-DOS commands.
    See the Unix and Linux page for a listing of Unix and Linux commands.

  2. When referring to a programming language, a command is a unique word used to perform a specific operation. For example, "print" is a command used to display text on the screen, entering the below command prints "Hello World!" to the screen, when the program or script is executed.

print "Hello World!";

Also see: Command key, Command Language, Command prompt, Operating system definitions, Programming definitions, Syntax