Editing Text Files
Page 7-7

Editing Text Files

The commands in the Edit sub-menu (also called the Text Buffer or Edit Buffer) are used to
create new text files and to modify existing text files. To enter the edit sub-menu, enter
edit
at the system prompt.
If verbose mode is enabled, the following list of commands will be displayed automatically.
If verbose mode is disabled, press the question mark (?) to display the following list of
commands. (For information on enabling verbose mode, refer to the uic command descrip-
tion in Chapter 4, “The User Interface.”)
Command Edit Menu
--------------- --------------------------------------------------------
ab Append line(s) to the buffer
cb Clear the buffer
db Delete line from the buffer
eb Edit a buffer line
ib Insert buffer line
lb List contents of the buffer
nb Name file for buffer
rb Read file into buffer
wb Write buffer to file
Main File Summary VLAN Networking
Interface Security System Services Help
The Edit sub-menu commands are outlined in the following sections. You can edit up to 100
lines of text. Each line of text can be up to 97 characters long.
Note
When you edit text files, you will normally use several
of the Edit sub-menu commands to produce the results
you want. SeeReal-World Example 1 on page 7-11 or
Real-World Example 2 on page 7-12 for examples of
how to use multiple commands from the Edit sub-
menu.

Clearing the Text Buffer

You can use the cb command to clear the Edit buffer’s memory so you can create a new text
file. To use the cb command, enter
cb
at the system prompt.