Command (computing): Difference between revisions

Content deleted Content added
top: +links. Clarify wording.
Directive is not wrong, but instructions seems easier to consume; scripting is a command way to use commands
Line 1:
{{short description|DirectiveExternal instruction 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 aan directiveinstruction toreceived avia computeran programexternal to[[Interface perform(computing)|interface]] that directs the behavior of a specific[[computer taskprogram]]. ItCommonly, maycommands beare issuedsent to a program via a [[command-line interface]] or as input to, a network[[scripting service as part oflanguage|script]], a [[network protocol]], or as an event triggered in a [[graphical user interface]].
 
Specifically, the term ''command'' is used in [[imperative programming]] languages. The name arises because [[statement (programming)|statements]] in these languages are usually written in a manner similar to the [[imperative mood]] used in many [[natural language]]s. A statement in an imperative programming language would then be a sentence in a natural language, and the command would be the [[Predicate_(grammar)|predicate]].