0 XP

Bash and the Command Line: Interactive Practice · Lesson 1 of 21 · about 6 min

What the command line is

There are two main ways to control a computer.

  • A graphical user interface (GUI) uses windows, icons, buttons and a mouse. You click on what you want.
  • A command line interface (CLI) uses text. You type an instruction called a command, press Enter, and the computer carries it out and prints the result as text.

A GUI only offers actions its designers put on screen. The command line lets you ask for anything the computer can do.