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:
826
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
Summary of Contents for Equalizer GX Series
Page 18: ......
Page 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 42: ......
Page 52: ......
Page 64: ......
Page 72: ......
Page 76: ......
Page 228: ......
Page 238: ......
Page 476: ......
Page 492: ......
Page 530: ......
Page 614: ......
Page 626: ......
Page 638: ......
Page 678: ......
Page 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 754: ......
Page 790: ......
Page 804: ......
Page 842: ......
Page 866: ......