Question: Question 4 2 pts Use vi to create a new file named my - first - vi - file with the following text: I

Question 4
2 pts
Use vi to create a new file named "my-first-vi-file" with the following text:
I am learning how to use vi.
This is a file I just created.
Save the file.
Use a Linux command to output the contents of the file with line numbers. The output should look like the following:
1 I am learning how to use vi.
2 This is a file I just created.
Copy-paste the command that you used to display the contents of the file:
 Question 4 2 pts Use vi to create a new file

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 Databases Questions!