Here are two senses for command:
- A command is an illocutionary act that has the directive illocutionary point of getting another to do or not to do something.
- A command is a syntactic sentence type in a language that is used primarily to express such illocutionary acts, and is described as having imperative form.
The meaning for the term command does not appear to extend to such utterances as It’s hot in here. This utterance might have the intended perlocutionary effect of getting the addressee to open a window, but it does not have that as a directive illocutionary point.
Turn off the radio, please.
Would you turn off the radio?