In terms of a 3D shooter:

A text command, typed in to a server/client console, to alter the gaming environment, or provide reporting.

Often the commands available to the players are limited to simple and non-altering commands, whereas the server has full priviliges.

Also seen to allow the quick use of scripts to facilitate either cheating or fast moves.