{"id":310,"date":"2023-11-20T23:12:01","date_gmt":"2023-11-20T23:12:01","guid":{"rendered":"https:\/\/sites.wp.odu.edu\/mcpcyber\/?page_id=310"},"modified":"2023-11-20T23:23:01","modified_gmt":"2023-11-20T23:23:01","slug":"310-2","status":"publish","type":"page","link":"https:\/\/sites.wp.odu.edu\/mcpcyber\/cyse-301\/310-2\/","title":{"rendered":"CYSE 301"},"content":{"rendered":"\n<h2 class=\"wp-block-heading has-text-align-center\"> CYBERSECURITY TECHNIQUES AND OPERATIONS<\/h2>\n\n\n\n<h3 class=\"wp-block-heading has-text-align-center\">OLD DOMINION UNIVERSITY<\/h3>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">Assignment #1 Basic Linux Commands<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">Mark Prather<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h4 class=\"wp-block-heading has-text-align-center\">Task A: Get ready with VMs<\/h4>\n\n\n\n<ul>\n<li>Install an Ubuntu 20.04+ VM on your local machine and screenshot the login page. <\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture1.png\" alt=\"\" class=\"wp-image-311\" width=\"840\" height=\"576\" srcset=\"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture1.png 568w, https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture1-300x206.png 300w, https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture1-437x300.png 437w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<ul>\n<li>Followed instructions to download and install Oracle VM VirtualBox Manager then downloaded and installed Ubuntu-VM from provided website. The only error was that I had to go into Bios and enable Virtualization. Created Mark administrator user.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading has-text-align-center\">Task B: Practice with Linux Commands<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture2.png\" alt=\"\" class=\"wp-image-312\" width=\"840\" height=\"510\" srcset=\"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture2.png 622w, https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture2-300x182.png 300w, https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture2-494x300.png 494w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<ul>\n<li>How do you find the IP address of your Linux machine using the command line?<strong> ifconfig <\/strong><\/li>\n\n\n\n<li>Display your current directory in a terminal. <strong>pwd<\/strong><\/li>\n\n\n\n<li>3. Use the echo command to print your name to the console. <strong>echo \u201cMark Prather\u201d<\/strong><\/li>\n\n\n\n<li>4. Display your first and last names in two separate lines using a single echo command. <strong>echo -e \u201cMark\\nPrather\u201d<\/strong><\/li>\n\n\n\n<li>5. How to change to home directory using cd and absolute pathname. <strong>cd ..<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture3.png\" alt=\"\" class=\"wp-image-313\" width=\"839\" height=\"520\" srcset=\"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture3.png 624w, https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture3-300x186.png 300w, https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture3-484x300.png 484w\" sizes=\"(max-width: 839px) 100vw, 839px\" \/><\/figure>\n\n\n\n<ul>\n<li> Create a new file named \u201cforXXXX.txt\u201d in your home directory (replace \u201cXXXX\u201d with your own MIDAS). Then, use the long listing format to display the contents in your home directory. What is the size of the file you just created?\n<ul>\n<li>touch forXXXX.txt<\/li>\n\n\n\n<li>mv forXXXX.txt forMprat007.txt<\/li>\n\n\n\n<li>ls<\/li>\n\n\n\n<li>ls -1<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Create a new directory named \u201cXXXX\u201d in your home directory (replace \u201cXXXX\u201d with your own MIDAS). Then, use the long listing format to display the contents in your home directory. What is the size of the file you just created?\n<ul>\n<li>mkdir XXXX<\/li>\n\n\n\n<li>mv XXXX Mprat007<\/li>\n\n\n\n<li>ls -1<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture4.png\" alt=\"\" class=\"wp-image-314\" width=\"841\" height=\"544\" srcset=\"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture4.png 624w, https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture4-300x194.png 300w, https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-content\/uploads\/sites\/33421\/2023\/11\/Picture4-463x300.png 463w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><\/figure>\n\n\n\n<ul>\n<li>Copy \/etc\/passwd file to your home directory. The copy should be named as \u201cpasswd_XXXX\u201d (replace \u201cXXXX\u201d with your own MIDAS) in your home directory. Then, complete the following two subtasks:\n<ul>\n<li>Use the proper command to display the first six lines in this file<\/li>\n\n\n\n<li>Search keyword &#8220;www&#8221; in this file. \n<ul>\n<li>cp \/etc\/passwd\/home\/mark\/passwd_XXXX<\/li>\n\n\n\n<li>ls<\/li>\n\n\n\n<li>mv passwd_XXXX passwd_Mprat007<\/li>\n\n\n\n<li>ls<\/li>\n\n\n\n<li>head -n6 passwd_Mprat007<\/li>\n\n\n\n<li>grep &#8220;www&#8221; passwd_Mprat007<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CYBERSECURITY TECHNIQUES AND OPERATIONS OLD DOMINION UNIVERSITY Assignment #1 Basic Linux Commands Mark Prather Task A: Get ready with VMs Task B: Practice with Linux Commands<\/p>\n","protected":false},"author":26741,"featured_media":0,"parent":123,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-json\/wp\/v2\/pages\/310"}],"collection":[{"href":"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-json\/wp\/v2\/users\/26741"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-json\/wp\/v2\/comments?post=310"}],"version-history":[{"count":4,"href":"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-json\/wp\/v2\/pages\/310\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-json\/wp\/v2\/pages\/310\/revisions\/319"}],"up":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-json\/wp\/v2\/pages\/123"}],"wp:attachment":[{"href":"https:\/\/sites.wp.odu.edu\/mcpcyber\/wp-json\/wp\/v2\/media?parent=310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}