Skip to main content

Command Line

The command line is a text interface for running programs, managing files, and automating tasks.

What Is The Command Line

A shell reads commands and starts programs. Common shells include Bash, Zsh, Fish, PowerShell, and Windows Command Prompt.

How To Use The Command Line

Open a terminal, navigate folders, run commands, and combine tools with flags and arguments.

Basic Example

pwd
ls
cd docs
mkdir notes

Common Concepts

  • Commands run programs.
  • Flags adjust command behavior.
  • Paths identify files and folders.
  • Environment variables configure tools.

What To Learn Next

Learn file navigation, pipes, redirects, permissions, shell scripts, and environment configuration.