Using the Edit Command
A VI-like editor is available on the switch to edit policies. There are many commands available with the editor. For information about the editor commands, use any tutorial or documentation about VI. The following is only a short introduction to the editor.
The editor operates in one of two modes: command and input.
- [dd]—Deletes the current line.
- [yy]—Copies the current line.
- [p]—Pastes the line copied.
- [:w]—Writes (saves) the file.
- [:q]—Quits the file if no changes were made.
- [:q!]—Forcefully quits the file without saving changes.
- [:wq]—Writes and quits the file.