Question: 4 . 1 4 Test running an external command inside vi by doing the following: A . Open the file exCommands B . Ensure that

4.14 Test running an external command inside vi by doing the following:
A. Open the file exCommands
B. Ensure that you're in Command Mode
C. Inspect the file to see the order of the lines
D. Type :%!sort
E. Inspect the file to see the order of the lines. Has the order changed?
F. Type :%!cat n(The n option tells cat to add line numbers to the each line being sent to stdout.)
G. Inspect the file. Has a line number been added to each line? Create a screenshot showing the file after it has been sorted and the line numbers added.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!