Home AMX General Discussion

Single quote in a string

bwestlakebwestlake Junior MemberPosts: 82
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"}"}'


Sign In or Register to comment.