Skip to content

Terminal Basics

Most developer workflows include command-line tools for Git, package managers, tests, and deployment.

  • pwd: show current directory
  • ls -la: list files
  • cd <path>: move between folders
  • mkdir <name>: create folder
  • touch <file>: create file
  • cp, mv, rm: copy, move, remove files
  • Use clear folder names.
  • Keep projects in a dedicated workspace directory.
  • Read command help pages: man <command> or <command> --help.
  • git status
  • git add .
  • git commit -m "message"
  • git push
  • Confirm path before running destructive commands.
  • Prefer small, reversible steps.
  • Commit often to avoid large risky changes.

Terminal fluency removes friction from daily work. Learn a small command set deeply, then expand as needed.