It seems that bash under ubuntu does not respect string substitution and generate error instead
~$ SCYLLA_HOME=/var/lib/scylla SCYLLA_CONF=/etc/scylla /usr/lib/scylla/jmx/scylla-jmx -l /usr/lib/scylla/jmx -r -Dcom.sun.management.jmxremote.host=0.0.0.0
/usr/lib/scylla/jmx/scylla-jmx: 101: /usr/lib/scylla/jmx/scylla-jmx: Bad substitution
It seems that bash under ubuntu does not respect string substitution and generate error instead ~$ SCYLLA_HOME=/var/lib/scylla SCYLLA_CONF=/etc/scylla /usr/lib/scylla/jmx/scylla-jmx -l /usr/lib/scylla/jmx -r -Dcom.sun.management.jmxremote.host=0.0.0.0 /usr/lib/scylla/jmx/scylla-jmx: 101: /usr/lib/scylla/jmx/scylla-jmx: Bad substitution