# 第二部分 shell基础

## 目录

* [3. 特殊字符](/shell/part2/03_special_characters.md)
* [4. 变量与参数](/shell/part2/04_introduction_to_variables_and_parameters.md)
  * [4.1 变量替换](/shell/part2/04_introduction_to_variables_and_parameters/04_1_variable_substitution.md)
  * [4.2 变量赋值](/shell/part2/04_introduction_to_variables_and_parameters/04_2_variable_assignment.md)
  * [4.3 Bash弱类型变量](/shell/part2/04_introduction_to_variables_and_parameters/04_3_bash_variables_are_untyped.md)
  * [4.4 特殊变量类型](/shell/part2/04_introduction_to_variables_and_parameters/04_4_special_variable_types.md)
* [5. 引用](/shell/part2/05_quoting.md)
  * [5.1 引用变量](/shell/part2/05_quoting/05_1_quoting_variables.md)
  * [5.2 转义](/shell/part2/05_quoting/05_2_escaping.md)
* [6. 退出与退出状态](/shell/part2/06_exit_and_exit_status.md)
* [7. 测试](/shell/part2/07_tests.md)
  * [7.1 测试结构](/shell/part2/07_tests/07_1_test_constructs.md)
  * [7.2 文件测试操作](/shell/part2/07_tests/07_2_file_test_operators.md)
  * [7.3 其他比较操作](/shell/part2/07_tests/07_3_other_comparison_operators.md)
  * [7.4 嵌套 if/then 条件测试](/shell/part2/07_tests/07_4_nested_if_then_condition_tests.md)
  * [7.5 牛刀小试](/shell/part2/07_tests/07_5_testing_your_knowledge_of_tests.md)
* [8. 运算符和相关话题](/shell/part2/08_operations_and_related_topics.md)
  * [8.1 运算符](/shell/part2/08_operations_and_related_topics/08_1_operators.md)
  * 8.2 数字常量
  * 8.3 双圆括号结构
  * 8.4 运算符优先级


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.clay-wangzhi.com/shell/part2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
