📜  bash 错误:语法错误 - 歧义 - 文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:18.908000             🧑  作者: Mango

代码示例1
$ echo hello >
bash: syntax error near unexpected token `newline`

$ echo hello > ${NONEXISTENT}
bash: ${NONEXISTENT}: ambiguous redirect

$ echo hello > "${NONEXISTENT}"
bash: : No such file or directory