Closed chubbard closed 8 years ago
On Ubuntu the default shell is /bin/dash not /bin/bash so the shell doesn't support bash <<< redirection. You get the following error:
./aws-blocker: Syntax error: redirection unexpected
The proper hash bang syntax was incorrect causing it to execute in /bin/dash instead of/bin/bash. Added the #! at the top.
On Ubuntu the default shell is /bin/dash not /bin/bash so the shell doesn't support bash <<< redirection. You get the following error:
./aws-blocker: Syntax error: redirection unexpected
The proper hash bang syntax was incorrect causing it to execute in /bin/dash instead of/bin/bash. Added the #! at the top.