352 | Appendix A -
New User Background Information
Shortcuts:
A.5 The vi Editor
To edit a file using the vi editor, type:
vi file_name
Vi is a three-state line editor: it has a command mode, a line mode and an editing mode.
If in doubt as to which mode you are in, press the <ESC> key which will bring you to
the command mode.
When you enter the vi program, you are automatically in command mode. To navigate
to the part of the file you wish to edit, use the following keys:
. (one dot)
Represents the current directory.
.. (two dots)
Represents one directory above the current directory (i.e. one directory
closer to the base directory).
Mode
What is done there
How to get there
Command mode
Navigation within the open file.
Press the <ESC> key.
Editing mode
Text editing.
See list of editing commands below.
Line mode
File saving, opening, etc. Exiting
from vi.
From the command mode, type “:”
(colon).
Table A.1: vi modes
h
Moves the cursor to the left (left arrow).
j
Moves the cursor to the next line (down arrow).
k
Moves the cursor to the previous line (up arrow).
l
Moves the cursor to the right (right arrow).
Table A.2: vi navigation commands
Содержание AlterPath ACS
Страница 16: ...xvi Table of Contents...
Страница 29: ...13 This page has been left intentionally blank...
Страница 30: ...14 Preface...
Страница 68: ...52 Device Access...
Страница 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Страница 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Страница 114: ...98 Authentication...
Страница 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Страница 268: ...252 Power Management with AlterPath PM Integration...
Страница 304: ...288 PCMCIA Cards Integration...
Страница 338: ...322 Profile Configuration...
Страница 364: ...348 Additional Features and Applications...
Страница 376: ...360 Appendix A New User Background Information...
Страница 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Страница 418: ...402 List of Tables...
Страница 420: ...404 List of Figures...