With that code you are supposed to create the file magento-cli, you can do this using the 'vi' text editor.
After that, you need to give it execution permissions:
chmod +x /opt/bitnami/apps/magento/htdocs/bin/magento-cli
And then try to do what @davidg indicated to reset the cache.
For what I can see from the last support report you sent (08153361-22e9-89f7-7fab-6b197ebeca04
), the magento-cli file already exist. Could you check if it already exists and run what @davidg indicated ?
Rafael Rios Saavedra