Author Topic: MX-ONE 6.3 String of commands in CLI  (Read 3432 times)

Offline freddielainen

  • Contributer
  • *
  • Posts: 5
  • Country: se
  • Karma: +0/-0
    • View Profile
MX-ONE 6.3 String of commands in CLI
« on: June 05, 2020, 11:28:38 AM »
Hello

Im pretty new MX-One CLI Release 6 :-) Does any know how to erease an SIP-extension in CLI by pasting in like 4 commands (se below) , but with automatic having the "YES-confirmation answer" inserted between the commands? So I just can paste it in.

In example if I do it manually, I have to answer "Y" after every command

name -e --dir 82111
ip_extension -e -d 82111
extension -e -d 82111
auth_code -e --auth-code 8211182111

Kind Regards
Fred


Offline noexpert

  • New Member
  • *
  • Posts: 1
  • Country: de
  • Karma: +0/-0
    • View Profile
Re: MX-ONE 6.3 String of commands in CLI
« Reply #1 on: July 07, 2020, 03:38:19 PM »
hi,
please try

echo Y| <command>

br

Offline freddielainen

  • Contributer
  • *
  • Posts: 5
  • Country: se
  • Karma: +0/-0
    • View Profile
Re: MX-ONE 6.3 String of commands in CLI
« Reply #2 on: October 10, 2020, 02:11:15 AM »
Thanks :-)


 

Sitemap 1 2 3 4 5 6 7 8 9 10