Installation Manual |
edited, use the following keys:
h
j
k
l
moves the cursor to the left (left arrow)
moves the cursor to the next line (down arrow)
moves the cursor to the previous line (up arrow)
moves the cursor to the right (right arrow)
Having arrived at the location where text should be changed, use these commands to modify the text (note commands “i” and “o” will move you into the editing mode and everything typed will be taken literally until you press the <ESC> key to return to the command mode)
i
o
dd
u
x
insert text before the cursor position (everything to the right of the cursor is shifted right)
create a new line below the current line and insert text (all lines are shifted down)
remove the entire current line
undo the last modification
delete the letter at the cursor position
Now that the file has been modified, enter the line mode (by typing “:” from the command mode) and use one of the following commands:
w | save the file (w is for write) |
wq | save and close the file (q is for quit) |
q! | close the file without saving |
w file | save the file with the name file |
e file | opens the file named file |
The Routing Table
The static routing table can be seen using the commands route
or
Appendix A - Linux | 36 |