CYSE 270: Linux System for Cybersecurity Assignment: Lab 3 – VI Editor Task: VI Practice on Ubuntu (20 * 5 = 100 points) Connect to the Ubuntu VM, then complete the following practice. 1. Copy file...

1 answer below »
make sure you use Ubuntu VM while completing this assignmentYou can use one screenshot to cover multiple steps. Make sure you highlight and annotate important information.
just like last time there is a total of 19 steps


CYSE 270: Linux System for Cybersecurity Assignment: Lab 3 – VI Editor Task: VI Practice on Ubuntu (20 * 5 = 100 points) Connect to the Ubuntu VM, then complete the following practice. 1. Copy file /usr/share/doc/ubuntu-docs/copyright to your home directory. [NOTE: You can use any text file that is large if you cannot find this file on yours] 2. Perform a long list in your current directory. 3. Open the file copyright (or any file that is large enough with multiple lines of text) in a vi editor. 4. Move to line 15, then insert your MIDAS ID in the same line with the following format: 5. “****XXXX****” (replace XXXX with your own MIDAS). 6. Return to the command mode. 7. Open a new line below the current line 8. . Return to the command mode. 9. Use command to Insert “****XXXX ****” five times. 10. Use command to return the top of the file. 11. Move forward three sentences. 12. Move forward four words. 13. Search for the word example. 14. Continue to the next occurrence of the search term example. 15. Delete the current word, example. 16. Delete the current line. 17. Use command to jump to the end of the file. 18. Copy line 16 and paste the text at the end of the document. 19. Replace all occurrences of http with HTTP throughout the document. 20. Save and quit the document. Please note: You can use one screenshot to cover multiple steps. Make sure you highlight and annotate important information.
Answered 1 days AfterJan 26, 2022

Answer To: CYSE 270: Linux System for Cybersecurity Assignment: Lab 3 – VI Editor Task: VI Practice on Ubuntu...

Pawan answered on Jan 28 2022
95 Votes
Open terminal and then type cd to go to home directory
Type key before performing any step
<
> means the key to press
1. Copy file /usr/share/doc/ubuntu-docs/copyright to your home directory. [NOTE: You can use any text file that is large if you cannot find this file on yours]
cp /usr/share/doc/ubuntu-docs/copyright ~
2. Perform a long list in your current directory.
ls -ltr
3. Open the file copyright (or any file that is large enough with multiple lines of text) in a vi...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here