Chapter 10 Install and System Administration for FortiOS 5.0 : Using the CLI : Tips : Special characters
  
Special characters
The characters <, >, (,), #, ', and “ are not permitted in most CLI fields. These characters are special characters, also known as reserved characters.
You may be able to enter special character as part of a string’s value by using a special command, enclosing it in quotes, or preceding it with an escape sequence — in this case, a backslash ( \ ) character.
In other cases, different keystrokes are required to input a special character. If you need to enter ? as part of config, you first need to input CTRL-V. If you enter the question mark (?) without first using CTRL-V, the question mark has a different meaning in CLI: it will show available command options in that section.
For example, if you enter ? without CTRL-V:
edit "*.xe
token line: Unmatched double quote.
If you enter ? with CTRL-V:
edit "*.xe?"
new entry '*.xe?' added
Table 66: Entering special characters
Character
Keys
?
Ctrl + V then ?
Tab
Ctrl + V then Tab
Space
(to be interpreted as part of a string value, not to end the string)
Enclose the string in quotation marks: "Security Administrator”.
Enclose the string in single quotes: 'Security Administrator'.
Precede the space with a backslash: Security\ Administrator.
'
(to be interpreted as part of a string value, not to end the string)
\'
"
(to be interpreted as part of a string value, not to end the string)
\"
\
\\
See Also
Help
Shortcuts and key commands
Command abbreviation
Special characters
Using grep to filter get and show command output
Language support and regular expressions
Screen paging
Baud rate
Using Perl regular expressions
Connecting to the CLI
Command syntax
Sub-commands
Tips