Home AMX User Forum AMX General Discussion

Single quote in a string

I have an SSH command that I need to send that contains single quote ( ' ) characters. I know that I have done or seen this before but I'm at a loss.

String example:
ubus call dli.relay.ttyATH0.outlets.outlet0 set '{"key":"state","value":"true","cred":"{"is_admin":true,"outlet_access":true,"agent":"ssh","name":"admin"}"}'

Comments

Sign In or Register to comment.