From ad9b4ec7d58187fd3daf0e816dd382fcbd294a17 Mon Sep 17 00:00:00 2001 From: ShinKouyo Date: Fri, 20 Nov 2026 21:18:36 +0800 Subject: docs(fix): 修正命令错误与过时描述 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assisted-by: DeepSeek-V4.1-Flash-1017 Signed-off-by: ShinKouyo --- docs/getting-started/common-command.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/getting-started/common-command.md') diff --git a/docs/getting-started/common-command.md b/docs/getting-started/common-command.md index 7304c60..6fb1d40 100644 --- a/docs/getting-started/common-command.md +++ b/docs/getting-started/common-command.md @@ -7,7 +7,7 @@ - `$`: 在命令行中表示非root用户的提示符,其后闪动的光标代表等待用户输入。在[Shell](../applications/shell/shell.md)脚本中代表变量名的开始。 - `#`: 在命令行中表示root用户的提示符。在脚本中表示注释,井号后的内容会被自动忽略。 - `~`: 用以代表当前用户目录,如 `~/file`。 -- `*`: 通配符,可代指“全部”,如 `dir1/*` 指 `dir1` 下全部文件、文件夹,`dir1/file*.txt`指 `dir1` 文件夹下所有以 `file` 开头、`.txt` 结尾的文件与文件夹。在zsh下,使用通配符可能需要输入`\*`。 +- `*`: 通配符,可代指“全部”,如 `dir1/*` 指 `dir1` 下全部文件、文件夹,`dir1/file*.txt`指 `dir1` 文件夹下所有以 `file` 开头、`.txt` 结尾的文件与文件夹。在 zsh 下,通配符无匹配时会直接报错:想让它安静地展开为空,可 `setopt NULL_GLOB`;想保持原样传给命令,可给通配符加引号。 ## 常见指令 -- cgit v1.3