An order, command, decree, or directive (can be used as a noun or with する to mean 'to order').
上司の命令には従わなければならない。
You must follow your boss's orders.
その政策は政府の命令で実施された。
That policy was implemented by government decree.
彼は命令を無視したため処分を受けた。
He was disciplined for ignoring orders.
(Computing) An instruction or statement given to software or hardware; a program instruction.
プログラムは一連の命令から構成される。
A program consists of a series of instructions.
この命令を実行するとファイルが削除されます。
Executing this command will delete the file.