Can't close a scpi(telnet) session with echo “^]” when I use it in a script

后端 未结 8 2153
日久生厌
日久生厌 2021-02-01 14:08

The use of echo-e \"\\ 029\" does not work either. But if use strg + alt gr + ] directly in a terminal session -> it works.

8条回答
  •  孤独总比滥情好
    2021-02-01 15:07

    On Linux it's actually:

    CTRL + ] then ENTER

    Finally type in the quit command.

    ^]
    
    telnet> quit
    Connection closed.
    [fred@localhost ~]$
    

提交回复
热议问题