SECAI Core · phase 12 of 15 · noun
Command-line interface
A text-based interface between the user and the operating system that accepts input in the form of commands.
The Explain card
- Plain English
- A CLI is a text-based way to talk to a computer. You type a command, the system runs it and prints the result, with no buttons or windows involved.
- Example
- A security engineer runs a model-scanning tool from the terminal to check a downloaded model file for unsafe serialised code before loading it, then pipes the output into a report script.
- Why it matters
- Most AI tooling, from training scripts to agent frameworks, is driven from the command line. When an AI agent is given shell access, every command it can type is a capability an attacker may try to borrow.
- Hook
- No clicks, just commands: powerful, scriptable, and dangerous in the wrong hands.
Word knowledge
How the word is built, where it came from, and what it sits beside in memory.
In a sentence
An analyst uses a command-line interface to run a malware scanner against a downloaded model file.
Why these words
- command Latin commandare, to entrust or order, through Old French comander identifies the instruction supplied by the user
- line Latin linea, linen thread or line refers to the row in which an instruction is entered
- interface English compound of inter- and face names the point of interaction
Where it came from
- Origin
- English computing compound formed from command line and interface
- Entered the language
- 1970s
- What changed
- Command broadened from an authoritative order to a machine instruction, while line came to mean a row of entered text.
How it is spelled
- Pattern
- Command-line is hyphenated because the two words act together as a modifier before interface.
- Pattern
- Interface is written as one word, following the closed-compound pattern of inter- formations.
Spelled like
- text-based interface
- menu-driven interface
- command-line tool
- command-line option
Broken into chunks
-
command
- commander
- commandment
-
line
- linear
- lineage
-
inter
- interaction
- interconnect
-
face
- facial
- surface
What it sits beside
Same subject
- shell
- terminal emulator
- command prompt
- command injection
Same shape
- command-line argument
- command-line option
- command-line tool
user interfaces
- command-line interface
- graphical user interface
- menu-driven interface
command components
- command
- option
- argument
Where it sits in the deck
Phase 12: Defensive Technologies and Secure Development Practices
Map defences directly to the attacks just catalogued — the technical controls, secure coding practices, and protective tools that harden AI and traditional systems alike.