
Using the File Editor
Editing Files
Files from the data store, for example, can be edited using the files edit command in the CLI using the "ee"
editor . The most common example for using this feature is to edit CLI scripts which can then be executed using
the run_script command, but there are other uses as well. You will be able to edit existing files, however you
will not be able to create and save new files to the data store. (Use the files download command to place a new file
into the datastore).
Examples of files that can be edited are responder html edit, certificate certfile/keyfile
edit, files edit, and others. In the example below the files edit command is used. In the example below a
configuration backup file script is opened for editing:
eqcli > files edit backup.script
When this command is executed, the "
ee
" editor will be displayed:
A list of commands is located at the top of the display.
The present location of your cursor is displayed in a highlighted block. For example L: 1 C: 1 indicates that
your cursor is on line 1, column 1 within the file contents. L:3 C;5 indicates that your cursor is on line 3, column 5
within the file contents, etc.
Use your keyboard's arrow keys (← ↑ ↓ → ) to navigate to the text that requires editing.
When you have finished editing enter ESC and a menu will be displayed as follows:
556
Copyright © 2013 Coyote Point Systems. A subsidiary of Fortinet, Inc.
Comentarios a estos manuales