A terminal command is a text instruction entered into a command-line interface to make a system do something, such as launch a program, copy files, change settings, or download content. Commands are powerful because they can automate tasks and directly control the operating system, but that same power makes them attractive to attackers.
In cyber security, terminal commands often appear in social engineering and malware delivery. A victim may be persuaded to paste a command that seems legitimate, but it can install malware, fetch a script, or run code with the user’s permissions. Defenders should treat unsolicited commands as suspicious, especially when they arrive during support chats, interview tasks, or “setup” instructions. Safer practices include using isolated test environments, reviewing commands before execution, and restricting when shell access is allowed.


