add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

24
pages.zh/common/$.md Normal file
View File

@@ -0,0 +1,24 @@
# 美元符号
> 扩展 Bash 变量。
> 更多信息请访问:<https://gnu.org/software/bash/manual/bash.html#Shell-Variables>。
- 打印一个变量:
`echo ${{VARIABLE}}`
- 打印上一个命令的退出状态:
`echo $?`
- 打印一个介于 0 和 32767 之间的随机数:
`echo $RANDOM`
- 打印其中一个提示字符串:
`echo ${{PS0|PS1|PS2|PS3|PS4}}`
- 使用 `command` 的输出进行扩展并运行。与将 `command` 包含在反引号中相同:
`$({{command}})`