Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
rsuk
New Contributor

FortiOS CLI new line character

Hi,

Does anyone know how to create a new line in a CLI script.

 

I'm trying to add a list of hosts to a group via a cli script. I know it can be done as I remember the trainer mentioning it on a Fortigate course but can't actually find out how to do it.

 

Much appreciated.

1 REPLY 1
ede_pfau
SuperUser
SuperUser

hi,

 

try to type 'Ctrl-V' just ahead of the newline.

At least it masks the '?' and some other special characters in FOS.

If that doesn't work I'd try backslash + newline.


Ede


"Kernel panic: Aiee, killing interrupt handler!"
Ede"Kernel panic: Aiee, killing interrupt handler!"
Labels
Top Kudoed Authors