Command

The name of the program or built-in job you ask the shell to run.

Think of it as The name of what you want from the clerk.

The first word of a line is the command: ls, cd, git. The words after it are its arguments.

Where the picture breaks

A real clerk asks 'are you sure?' and keeps returns, but the terminal does exactly what you typed: deletions skip the Recycle Bin and there is no undo.

A shell reads a line, finds the program by name in PATH, runs it with the arguments in the current directory, and reports its exit status. It never asks for confirmation unless the program does.

See it with the rest of the analogy cast

Related terms