Skip to content

The shell and the prompt · ⁨shell 与提示符⁩

English

The prompt

  • When the terminal is ready, it shows a prompt and waits:
  • That tells you who you are (student), the computer (linux), and the folder you are in (~, your home).
  • You type a command after the $, press Enter, and the computer runs it.

中文

提示符

  • 终端准备就绪时,会显示一个提示符并等待:
student@linux:~$
  • 它告诉你:你是谁(student)、这台计算机(linux),以及你所在的文件夹(~,即你的主目录)。
  • 你在 $ 后面输入命令,按下回车,计算机就会运行它。

读懂提示符:用户、计算机、当前文件夹,以及你输入命令的 $

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩