{"id":346,"date":"2025-11-30T23:14:32","date_gmt":"2025-11-30T23:14:32","guid":{"rendered":"https:\/\/sites.wp.odu.edu\/dberr012\/?p=346"},"modified":"2025-11-30T23:14:32","modified_gmt":"2025-11-30T23:14:32","slug":"cyse270-assignment-3","status":"publish","type":"post","link":"https:\/\/sites.wp.odu.edu\/dberr012\/2025\/11\/30\/cyse270-assignment-3\/","title":{"rendered":"CYSE270 Assignment 3"},"content":{"rendered":"\n<p><strong>1.&nbsp; Copy the file \/usr\/share\/doc\/zstd\/copyright to your home directory.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/206cc966-e384-47fb-bc15-6e8cfdc1e70b\" width=\"624\" height=\"390.5471382715299\"><\/li>\n<\/ul>\n\n\n\n<p><strong>2. Perform a long list in your home directory using the correct command.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/ac08beab-0fc9-4445-94bb-53bdaf4363be\" width=\"608.9275362318841\" height=\"296\"><\/li>\n<\/ul>\n\n\n\n<p><strong>3. Open the file copyright in a vi-editor using vi command.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/af717a23-e651-4f72-852d-f320636e5732\" width=\"624\" height=\"391\"><\/li>\n<\/ul>\n\n\n\n<p><strong>4. Move to line 15, then insert your MIDAS ID in the same line with the following format:<\/strong><\/p>\n\n\n\n<p><strong>****XXXX****(replace XXXX with your own MIDAS name).&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/47412483-6d32-43a3-a287-f5f04eed568b\" width=\"634.5762711864406\" height=\"328\"><\/li>\n<\/ul>\n\n\n\n<p><strong>5. Return to the command mode. Write Command<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/254990cf-cf28-4927-9587-1f544cd74d89\" width=\"624\" height=\"391\"><\/li>\n<\/ul>\n\n\n\n<p><strong>6. Open a new line below the current line using correct command (please refer to slides<\/strong><\/p>\n\n\n\n<p><strong>with the list of commands used in vi editor).&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/020bbdc4-e3ec-475f-80bc-d9a3b3490c12\" width=\"631.5544794188862\" height=\"327\"><\/li>\n<\/ul>\n\n\n\n<p><strong>7. Return to the command mode. Write Command<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/1477605a-9d6b-4809-8899-a9c3186a522b\" width=\"624\" height=\"391\"><\/li>\n<\/ul>\n\n\n\n<p><strong>8. Use command to Insert \u201c****XXXX ****\u201d five times.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/3316b0b3-3ca1-46d5-b8d7-bc87b4217567\" width=\"661.6811594202899\" height=\"338\"><\/li>\n<\/ul>\n\n\n\n<p><strong>9. Use command to return the top of the file.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/0bfbc843-8c8b-4d49-8308-81b4d289a298\" width=\"624\" height=\"391\"><\/li>\n<\/ul>\n\n\n\n<p><strong>10. Move forward three sentences.<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/2b140c01-8c44-4149-bfee-e7d123226436\" width=\"624\" height=\"365\"><\/li>\n<\/ul>\n\n\n\n<p><strong>11. Move forward four words.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/137d23c7-da84-4d87-a1d8-ab2e7a0f4e0f\" width=\"624\" height=\"391\"><\/li>\n<\/ul>\n\n\n\n<p><strong>12. Search for the word example or any word existing in the document that you are using<\/strong><\/p>\n\n\n\n<p><strong>for lab-3.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/b8bb7daf-7fa4-4dec-b5d2-cf4800e11b78\" width=\"624\" height=\"309\"><\/li>\n<\/ul>\n\n\n\n<p><strong>13. Continue to the next occurrence of the search term example.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/a02e340f-8659-49dc-97e5-f4b0f87855a0\" width=\"624\" height=\"391\"><\/li>\n<\/ul>\n\n\n\n<p><strong>14. Delete the current word, example.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/7d5f9315-9b2d-4a85-946e-577c7ce031b2\" width=\"624\" height=\"340\"><\/li>\n<\/ul>\n\n\n\n<p><strong>15. Delete the current line.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/03962a85-4c6a-4b9c-aae3-442b1229762d\" width=\"618\" height=\"354\"><\/li>\n<\/ul>\n\n\n\n<p><strong>16. Use command to jump to the end of the file.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/f212b116-5f1f-465e-8bb4-4e58572ff0ae\" width=\"624\" height=\"391\"><\/li>\n<\/ul>\n\n\n\n<p><strong>17. Copy line 16 and paste the text at the end of the document.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/5348c6d5-e19f-493c-8953-c2b73ba21249\" width=\"630\" height=\"334\"><\/li>\n<\/ul>\n\n\n\n<p><strong>18. Replace all occurrences of http with HTTP throughout the document.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/f8be402f-d4ec-47ce-bd6a-efb40d80653d\" width=\"637.5\" height=\"398\"><\/li>\n<\/ul>\n\n\n\n<p><strong>19. Save and quit the document.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/ced90169-650a-43f0-9d40-079a0eb4c34b\" width=\"624\" height=\"391\"><\/li>\n<\/ul>\n\n\n\n<p><strong>20. Rename the file copyright to copyright_cyse270.&nbsp;<\/strong><\/p>\n\n\n\n<ul>\n<li><img decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/b0e2c69d-9706-4351-8a6f-81392b632af5\" width=\"625.5\" height=\"343\"><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>1.&nbsp; Copy the file \/usr\/share\/doc\/zstd\/copyright to your home directory.&nbsp; 2. Perform a long list in your home directory using the correct command.&nbsp; 3. Open the file copyright in a vi-editor using vi command.&nbsp; 4. Move to line 15, then insert your MIDAS ID in the same line with the following format: ****XXXX****(replace XXXX with your&#8230; <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/sites.wp.odu.edu\/dberr012\/2025\/11\/30\/cyse270-assignment-3\/\">Read More<\/a><\/div>\n","protected":false},"author":30971,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","wds_primary_category":0},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/sites.wp.odu.edu\/dberr012\/wp-json\/wp\/v2\/posts\/346"}],"collection":[{"href":"https:\/\/sites.wp.odu.edu\/dberr012\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.wp.odu.edu\/dberr012\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/dberr012\/wp-json\/wp\/v2\/users\/30971"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/dberr012\/wp-json\/wp\/v2\/comments?post=346"}],"version-history":[{"count":1,"href":"https:\/\/sites.wp.odu.edu\/dberr012\/wp-json\/wp\/v2\/posts\/346\/revisions"}],"predecessor-version":[{"id":347,"href":"https:\/\/sites.wp.odu.edu\/dberr012\/wp-json\/wp\/v2\/posts\/346\/revisions\/347"}],"wp:attachment":[{"href":"https:\/\/sites.wp.odu.edu\/dberr012\/wp-json\/wp\/v2\/media?parent=346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/dberr012\/wp-json\/wp\/v2\/categories?post=346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/dberr012\/wp-json\/wp\/v2\/tags?post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}