Console

What is a console?

Contents 4 sections

The console is a text-based interface that allows you to send commands directly to the operating system. It is often referred to as the command line or terminal.

Opening the console

  • Windows:

    • Search the Start menu for “Terminal,” “Command Prompt,” or “PowerShell.”
    • Alternatively: Press Win+R, type cmd, and press Enter.
  • macOS:

    • Open “Applications” > “Utilities” > “Terminal”.
    • Or: Open Spotlight with Cmd+Spacebar and type “Terminal”.
  • Linux:

    • Usually with Ctrl+Alt+T.
    • Or search for “Terminal” in the application menu.

Using the console

1. Input: Type a command, e.g., ls (displays files) or cd folder_name (switches to the folder).

2. Execute: Press Enter to execute the command.

3. Navigation:

  • Arrow keys /: Navigate through previous commands.
  • Tab key: Automatically complete filenames and commands.
  • Cancel: Ctrl+C stops a running command.

Why do you need the console?

The console allows you to control your computer precisely using text commands. Many tools for development, administration, and automation run faster there or are only available via the command line.

Origins of the console

The console is a Command Line Interface (CLI). It dates back to the era before graphical user interfaces (GUIs), when computers were operated almost exclusively via text commands. Even today, the CLI remains an essential tool for professionals in development and system administration.