IST 257 Chapter 9

Ace your homework & exams now with Quizwiz!

Typing which of the following from vi command mode will attempt to save your file?

:w

To search backward from your cursor in your vi document in command mode, you can type __ followed by the pattern to search for.

?

If you are in vi command mode and want to begin inserting text at the end of the line, you can type:

A

To go to the first line of a vi document in command mode, you can type: (choose two)

gg 1G

If you are in the vi command mode and want to begin inserting text before your cursor, you can type:

i

To move forward one word at a time in the vi command mode, you press:

w

To navigate to the end of the line in vi command mode, you can press:

$

Which of the following variables affect the standard editor for a user?

$ENV? $VI?

To configure the default or standard editor for a user, which file should the $EDITOR variable be configured in?

.bashrc

To search forward from your cursor in your vi document in command mode, you can type __ followed by the pattern to search for.

/

What would typing 4dh do in vi command mode?

Delete the previous four characters

If you are in the vi command mode and want to add a new line before your cursor, you would type:

O

To save and then quit, you can type in command mode:

ZZ

To go to the beginning of a line in the vi command mode, you press:

^

To move backward through a vi document, word by word, you press:

b

To perform cut and paste in a vi document, you actually do:

delete and put

If you want to move a character to the left in vi command mode, you can press the Left Arrow Key ← or:

h

If you want to move a character to the right in vi command mode, you can press the Right Arrow Key → or:

l

If you want to move up a line in vi command mode, you can press the Up Arrow Key ↑ or:

j?

If you are in vi command mode and want to add a new line after your cursor, you can type:

o


Related study sets

Texas History Final 2301 Kirk Bane

View Set

Government Rights in Real Property

View Set

ECON 520 Intermediate Microeconomics Exam 1

View Set