In
computing, a
command is a directive to a computer program acting as an interpreter of some kind, in order to perform a specific task. Most commonly a command is either a directive to some kind of
command-line interface, such as a
shell, or an event in a
graphical user interface triggered by the user selecting an option in a
menu.