Shared Flashcard Set

Details

LPIC-1 103.8
Perform basic file editing operations using vi.
16
Computer Science
Not Applicable
07/29/2015

Additional Computer Science Flashcards

 


 

Cards

Term
Copy the current line in the clipboard.
Definition
yy
Term
Put before the position or line.
Definition
P (uppercase)
Term
Put after the position or line.
Definition
p (lowercase)
Term
Save
Definition
:w
Term
Save & Exit
Definition
:x
:wq
ZZ
Term
Exit if no changes made.
Definition
:q
Term
Exit & discard any changes.
Definition
:q!
Term
Vi have how many modes
Definition
2
- command mode
- insert mode
Term
Cursor Movement : left one space
Definition
h
Term
Cursor Movement : right one space
Definition
l
Term
Cursor Movement : up one line
Definition
k
Term
Cursor Movement : down one line
Definition
j
Term
Delete the current character.
Definition
x (lowercase)
Term
Delete the rest of the current word.
Definition
dw
Term
Delete all the current line.
Definition
dd
Term
Delete from the current position of the cursor to the end of the line.
Definition
D
Supporting users have an ad free experience!