⌨️Command Line
Also known as Command-Line Interface (CLI), CLI, Command Prompt
Typed lines that tell a computer what to do. No mouse is needed.
Think of it like
Think of it like talking to a helper with words instead of pointing. You say what to do, and it does it.
Example
Emma types ls and presses Enter. The computer prints the names of the files in the folder.
Why it matters
Servers, build tools and Git are all run from the command line. It is a core skill for any coder.
Definition
Example code
console
$ echo Hi Emma
Hi EmmaCommon mistake
Key takeaways
- 1Type, not click. One command per line.
- 2Fast and exact. Good for repeat jobs.
- 3Works with no screen. The way to run servers.