简体   繁体   English

如何在teraterm中发送包含撇号的命令

[英]How to send a command containing an apostrophe in teraterm

I am trying to send the following command using TeraTerm macro:我正在尝试使用 TeraTerm 宏发送以下命令:

ubus call uci add '{"config":"wireless", "type":"wifi-iface", "name": "default_radio11"}'

so I am using the send command:所以我使用发送命令:

Send 'ubus call uci add '{"config":"wireless", "type":"wifi-iface", "name": "default_radio11"}''

The problem is that TeraTerm sends only ubus call uci add (since I have an apostrophe after add).问题是 TeraTerm 只发送ubus call uci add (因为我在 add 后有一个撇号)。

我找到了解决方案:需要拆分命令:send 'ubus call uci add ' send #39 send '{"config":"wireless", "type":"wifi-iface", "name": "default_radio11"} '发送#39

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM