Lesson plan
Command (computing)
In computing, a command is a high-level instruction received via an external interface that directs the behavior of a computer program. Commonly, commands are sent to a program via a command-line interface, a script, a network protocol, or as an event triggered in a graphical user interface. Many commands support arguments to specify input and to modify default behavior. Terminology and syntax varies but there are notable common approaches. Typically, an option or a flag is a name (without whitespace) with a prefix such as dash or a slash that modifies default behavior. An option might have a required value that follows it. Typically, a flag refers to an option that does not have a following value. A parameter is an argument that specifies input to the command and its meaning is based on its position in the command line relative to other parameters; generally ignoring options. A parameter can specify anything, but often it specifies a file by name or path. The term command is sometimes also used for internal program instructions, but often other terms are more appropriate such as statement, expression, function, or conditional. For example, printing a message in Bash is via the command printf, while in Python it is via the function print(). Further, some aspects of adjacent technology are conflated with commands.…
Article summary
In computing, a command is a high-level instruction received via an external interface that directs the behavior of a computer program. Commonly, commands are sent to a program via a command-line interface, a script, a network protocol, or as an event triggered in a graphical user interface. Many commands support arguments to specify input and to modify default behavior. Terminology and syntax varies but there are notable common approaches. Typically, an option or a flag is a name (without whitespace) with a prefix such as dash or a slash that modifies default behavior. An option might have a required value that follows it. Typically, a flag refers to an option that does not have a following value. A parameter is an argument that specifies input to the command and its meaning is based on its position in the command line relative to other parameters; generally ignoring options. A parameter can specify anything, but often it specifies a file by name or path. The term command is sometimes also used for internal program instructions, but often other terms are more appropriate such as statement, expression, function, or conditional. For example, printing a message in Bash is via the command printf, while in Python it is via the function print(). Further, some aspects of adjacent technology are conflated with commands.…
Key claims
No claims recorded.
Discussion questions
- Summarise the article in your own words. Which single claim would you verify first, and why?
- Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
- If two sources disagreed about one of these facts, what would you need in order to trust one over the other?
Bibliography
No sources recorded.
Key claims and bibliography are generated from the same tracked claims and sources as the article page.