Avaya a500 Guia Do Utilizador

Página de 326
file Commands
7-6
Cajun A500 ATM Switch User Guide
file edit
Purpose
The 
file edit
 command enables you to edit an existing file on an Cajun A500, using 
the line editor that is included in the Cajun A500’s file system.
Syntax
file edit { file_name }
Arguments
This command requires no additional arguments.
Instructions
1. Execute the 
file edit
 command.
2. At the following prompt, enter the file name that you want to edit and press 
Return:
3. enter file name to edit: 
4. The 
cmd:
 prompt displays.
5. Enter 
i
 at this prompt to begin inserting text. The 
insert>
 prompt displays.
6. Begin entering your text. When you are finished, press Return. 
7. Type 
^c
 to exit insert mode. The 
cmd:
 prompt is displayed again.
8. Type 
s
 at the 
cmd:
 prompt to view the contents of the file.
9. Type 
w { 
file_name
 }
 at the 
cmd:
 prompt to save the file.
10. Type 
q
 at the 
cmd:
 prompt to exit the file editor. If you have not saved the file, the 
editor prompts you to do so.