While trying to install the Carbon Black EDR sensor for Linux, the installation fails and the following error is returned:
/home/installer/Documents/Carbon Linux/CarbonBlackClientSetup-linux-v22.214.171.12400.sh: line 389: -i: command not found
The directory where the user was trying to launch the installer had a space in one of the directory names. Removing the space resolved the issue.
# /home/installer/Documents/Carbon Linux
mv /home/installer/Documents/Carbon Linux /home/installer/Documents/CarbonLinux