Sources

S1 — Apple Terminal User Guide: Get started with Terminal on Mac

URL: https://support.apple.com/guide/terminal/get-started-pht23b129fed/mac

  • authority: official-docs
  • supports: 终端是一个提供命令行界面入口的应用;通过输入命令并按 Return 来运行命令。
  • key-fact: "Terminal is an app you use to perform tasks using a command line interface (CLI) in macOS."

S2 — MIT Missing Semester: Course Overview + Introduction to the Shell

URL: https://missing.csail.mit.edu/2026/course-shell/

  • authority: authoritative-guide
  • supports: shell 是文本界面,终端是可视窗口;提示符显示你的位置并表示 shell 已就绪。
  • key-fact: "To open a shell prompt (where you can type commands), you first need a terminal, which is the visual interface to a shell."

S3 — UC Berkeley SCF: Using the bash (and zsh) shell

URL: https://computing.stat.berkeley.edu/tutorial-using-bash/

  • authority: authoritative-guide
  • supports: shell 是替你运行命令的程序;$ 提示符以及命令的基本结构。
  • key-fact: "The shell is the UNIX program that provides an interactive computer programming environment. You use the shell when in a terminal window to interact with a UNIX-style operating system."

S4 — GNU Bash Manual

URL: https://www.gnu.org/software/bash/manual/

  • authority: official-docs
  • supports: Bash 是一个命令语言解释器,读取并执行命令。
  • key-fact: "Bash is a command language interpreter that executes commands read from the standard input, from a string, or from a file."

S5 — William Shotts, Learning the Shell: Navigation

URL: https://linuxcommand.sourceforge.io/lc3_lts0020.php

  • authority: authoritative-guide
  • supports: pwdcdls,绝对路径与相对路径,以及 ...~ 快捷写法。
  • key-fact: "The directory we are standing in is called the working directory. To see the name of the working directory, we use the pwd command."

S6 — DigitalOcean: Linux Navigation and File Management

URL: https://www.digitalocean.com/community/tutorials/basic-linux-navigation-and-file-management

  • authority: authoritative-guide
  • supports: pwdlscdlesscatheadtailtouchmkdirmvcprmrmdir
  • key-fact: "The less command allows you to scroll through pages of a file. To exit the less program, you can type q to quit."

S7 — Red Hat: 8 essential Linux file navigation commands for new users

URL: https://www.redhat.com/en/blog/Linux-file-navigation-commands

  • authority: authoritative-guide
  • supports: pwdcdls,以及 ...~ 等导航快捷写法。
  • key-fact: "Double dots represent the parent directory, or the directory immediately above the current one in the filesystem."

S8 — Apple Command Line Primer

URL: https://developer.apple.com/library/archive/documentation/OpenSource/Conceptual/ShellScripting/CommandLInePrimer/CommandLine.html

  • authority: official-docs
  • supports: flag、参数、路径,用 Ctrl-C 终止程序,以及 man 命令。
  • key-fact: "Most tools also can take a number of flags (sometimes called switches). For example, you can get a 'long' file listing by typing ls -l and pressing Return."

S9 — MDN: Command line crash course

URL: https://developer.mozilla.org/en-US/docs/Learn_web_development/Getting_started/Environment_setup/Command_line

  • authority: authoritative-guide
  • supports: 什么是命令行、如何进入它、基本命令、选项/flag,以及 man/--help
  • key-fact: "The cd command lets you Change Directory. To list the files in the directory you're currently in, use the ls command."