- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-21-2022 03:15 AM
Install defender failing
sudo ./twistcli defender install standalone host-linux \
--address https://<CONSOLE> \
--user <USER>
Error:
./twistcli: line 1: syntax error near unexpected token `<'
./twistcli: line 1: `<!doctype html> <html> <head> <title>Prisma Cloud</title> <meta charset="utf-8"> <meta http-equiv="Content-Security-Policy" content="'
07-21-2022 04:51 AM
Hi @karthik
How did you download the twistcli file?
It should be bash script file, but from the output it seems it is HTML file. You probably have downloaded the downloading page itself, instead of the hosted script.
Try to look inside the file with "head -n 20 twistcli" - this should return the first 20 lines from the file, what is the output?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!