The vi command to save lines 1-5 of the text in another file is

a. :save 5 lines
b. :s 1-5 filename
c. :1,5 w filename
d. :w 5 filename
e. :!w 1 5 filename

c. :1,5 w filename

Computer Science & Information Technology

You might also like to view...

A recent flood in the office caused a lot of equipment to be damaged and the manager of the IT department would like a way to prevent such an incident in the future. Which of the following is the BEST way to mitigate such an equipment failure?

A. Reduce the power input on the replacement servers. B. Cover the servers with plastic tarps. C. Purchase twice as many servers to create high availability clusters. D. Transfer the replacement servers offsite to a data center.

Computer Science & Information Technology

The strategic planning process for aninformation technology organization and the factors that influence it depend on:

a. how the organization is perceived by the rest of the organization. b. the amount of autonomy granted to the lower-level units. c. the leadership style and capabilities of the managers in charge of each unit. d. how the organization sets its strategies and objectives.

Computer Science & Information Technology