When running the Portal 4.x portal.sh script, you receive an error similar to the below:
portal.sh: line 502: syntax error near unexpected token `<'.
This error occurs when trying to execute the script using sh
bash-4.2# sh portal.sh
This script should instead be run as follows: