State of affairs: You will need to carry out the next duties on the VMware digital machine assigned to you on the faculty (https://is20.fp.stlcc.edu). Required Sources Digital laptop on the VMware server. Half 1: 1. Set up CentOS6.x working system on the VMware digital machine and title it: midterm (10 factors) 2. Create the next consumer account: consumer title Midterm18, password: Password18, set the foundation password to RootPassword (5 factors) three. Create a doc in your Paperwork listing together with your title and “midterm” as textual content in it. (5 factors) Half 2: 1. Login because the consumer Midterm18, and carry out the next duties as this consumer. (5 level) 2. Create a brand new listing in Midterm18 consumer ‘s house folder known as: midterm. (2 factors) three. Navigate to the midterm listing. Carry out all work within the midterm listing. (three factors) four. Create a file known as “etcdir” by itemizing the detailed content material of the “and many others” listing (embody all hidden information within the itemizing), and redirect it into the “etcdir” file. (10 factors) 5. Separate out the directories into a brand new file known as “onlydirectories”. (15 factors) Observe: examine https://www.cyberciti.biz/faq/grep-regular-expressions/ 6. Separate out all information into a brand new file known as “onlyfiles”. (15 factors) 7. Kind the content material of “onlyfiles” in reverse order primarily based on the names, and title the output as “sortedfiles”. (10 factors) eight. Kind the content material of “onlydirectories” in reverse order primarily based on the names, and title the output as “sorteddirectories”. (10 factors) 9. Mix the “sortedfiles”, and “sorteddirectories” information into a brand new file known as “mixed” the place the information are listed first, and directories listed second. (5 factors) 10. Change the permissions on all of the information within the midterm listing so solely the proprietor of the file can learn, and write the information (all different permissions are denied). (5 level) Observe: It’s best to have 6 information when you completed within the midterm listing. Your file sizes and dates will likely be completely different, however all different data ought to match with the next show: -rw——-. 1 Midterm18 Midterm18 12865 Jun four 19:01 mixed -rw——-. 1 Midterm18 Midterm18 6390 Jun four 18:35 onlydirectories -rw——-. 1 Midterm18 Midterm18 14291 Jun four 18:26 etcdir -rw——-. 1 Midterm18 Midterm18 6475 Jun four 18:52 onlyfiles -rw——-. 1 Midterm18 Midterm18 6390 Jun four 18:59 sorteddirectories -rw——-. 1 Midterm18 Midterm18 6475 Jun four 18:58 sortedfiles 

Published by
Write
View all posts