Chapter 10 Install and System Administration for FortiOS 5.0 : Using the CLI : Tips : Shortcuts and key commands
  
Shortcuts and key commands
 
Table 63: Shortcuts and key commands
Action
Keys
List valid word completions or subsequent words.
If multiple words could complete your entry, display all possible completions with helpful descriptions of each.
?
Complete the word with the next available match.
Press the key multiple times to cycle through available matches.
Tab
Recall the previous command.
Command memory is limited to the current session.
Up arrow, or
Ctrl + P
Recall the next command.
Down arrow, or
Ctrl + N
Move the cursor left or right within the command line.
Left or Right arrow
Move the cursor to the beginning of the command line.
Ctrl + A
Move the cursor to the end of the command line.
Ctrl + E
Move the cursor backwards one word.
Ctrl + B
Move the cursor forwards one word.
Ctrl + F
Delete the current character.
Ctrl + D
Abort current interactive commands, such as when entering multiple lines.
If you are not currently within an interactive command such as config or edit, this closes the CLI connection.
Ctrl + C
Continue typing a command on the next line for a multi-line command.
For each line that you want to continue, terminate it with a backslash ( \ ). To complete the command line, terminate it by pressing the spacebar and then the Enter key, without an immediately preceding backslash.
\ then Enter
See Also
Help
Command abbreviation
Environment variables
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