Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash errors: syntax error - ambiguous - file

$ 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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #syntax #error #ambiguous #file
ADD COMMENT
Topic
Name
1+8 =