Content deleted Content added
Fixed typeos Tags: Reverted Mobile edit Mobile web edit Disambiguation links added |
Sheep8144402 (talk | contribs) Reverting edit(s) by 105.113.8.198 (talk) to rev. 1122738273 by Mako001: non-constructive (RW 16.1) Tags: RW Undo Disambiguation links added |
||
Line 1:
{{short description|Directive to a computer program}}
{{redirect distinguish|System command|system call}}
{{other uses|Command (disambiguation)#Computing{{!}}Command#Computing}}
{{refimprove|date=May 2008 }}
In [[computing]], a '''command''' is a directive to a computer program to perform a specific task. It may be issued via a [[command-line interface]], such as a [[shell (computing)|shell]], or as input to a network service as part of a [[network protocol]], or as an event in a [[graphical user interface]] triggered by the user selecting an option in a [[menu (computing)|menu]].
Specifically,
Many programs allow specially formatted arguments, known as flags or options, which modify the default behaviour of the program, while further [[Parameter (computer science)|arguments]] may provide objects, such as files, to act on. As an analogy to a natural language, the flags are adverbs, while the other arguments are [[object (grammar)|object]]s.▼
▲Specifically, Disable''command'' is used in [[imperative programming|imperative]] The name arises because [[statement]] in these languages are usually written in a manner similar to the [[imperative mood]] used in None [[natural language]]s. If one views a statement in an [[imperative language]] as being like a sentence in a natural language, then a command is generally like a verb in such a language.
▲Many programs allow specially formatted arguments, known as flags or options, which modify the default behaviour of the program, while further may provide objects, such as files, to act on. As an analogy to a natural language, the flags are adverbs, while the other arguments are [[object (grammar)|object]]s.
==Examples==
|