Question: 2 1 . Create a file with 1 2 lines of text. Delete the second word in the text. 2 2 . Go to the

21. Create a file with 12 lines of text. Delete the second word in the text.
22. Go to the fifth line, and insert your first and last name.
23. Remove the eighth line, and place it at the end of the file.
24. Use one command to go to the first line of the file.
25. Search for your last name.
26. Save the file, but do not exit vi.
27. Without exiting vi, temporarily execute the ls command to confirm that the file
is saved.
28. Enter the command that causes line numbers to appear.
29. Delete lines 9 and 10.
30. Move to the line of text that contains your first and last name, cut it, and place the
text in the buffer.
31. Paste the line with your first and last name in the middle of the text.
Use the Emacs editor for these more advanced exercises.
32. Using the practice file, practice copying and pasting the text to rearrange the order
of the lines.
33. Add text to the file, and practice using the cursor movement commands.
34. Replace all occurrences of the word form with create.
35. Select five words and convert them to all uppercase.
36. Delete a line and then undo the deletion.
37. Transpose the first two words in each line.
38. Save the file and exit Emacs

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!