Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

 Scenario: You must perform the following tasks on the VMware virtual machine assigned to you at the school (https://is20.fp.stlcc.edu). Required Resources Virtual computer on the VMware server. Part

 Scenario: You must perform the following tasks on the VMware virtual machine assigned to you at the school (https://is20.fp.stlcc.edu). Required Resources Virtual computer on the VMware server. Part 1: 1. Install CentOS6.x operating system on the VMware virtual machine and name it: midterm (10 points) 2. Create the following user account: user name Midterm18, password: Password18, set the root password to RootPassword (5 points) 3. Create a document in your Documents directory with your name and “midterm” as text in it. (5 points) Part 2: 1. Login as the user Midterm18, and perform the following tasks as this user. (5 point) 2. Create a new directory in Midterm18 user ‘s home folder called: midterm. (2 points) 3. Navigate to the midterm directory. Perform all work in the midterm directory. (3 points) 4. Create a file called “etcdir” by listing the detailed content of the “etc” directory (include all hidden files in the listing), and redirect it into the “etcdir” file. (10 points) 5. Separate out the directories into a new file called “onlydirectories”. (15 points) Note: check https://www.cyberciti.biz/faq/grep-regular-expressions/ 6. Separate out all files into a new file called “onlyfiles”. (15 points) 7. Sort the content of “onlyfiles” in reverse order based on the names, and name the output as “sortedfiles”. (10 points) 8. Sort the content of “onlydirectories” in reverse order based on the names, and name the output as “sorteddirectories”. (10 points) 9. Combine the “sortedfiles”, and “sorteddirectories” files into a new file called “combined” where the files are listed first, and directories listed second. (5 points) 10. Change the permissions on all the files in the midterm directory so only the owner of the file can read, and write the files (all other permissions are denied). (5 point) Note: You should have 6 files once you finished in the midterm directory. Your file sizes and dates will be different, but all other information should match with the following display: -rw-------. 1 Midterm18 Midterm18 12865 Jun 4 19:01 combined -rw-------. 1 Midterm18 Midterm18 6390 Jun 4 18:35 onlydirectories -rw-------. 1 Midterm18 Midterm18 14291 Jun 4 18:26 etcdir -rw-------. 1 Midterm18 Midterm18 6475 Jun 4 18:52 onlyfiles -rw-------. 1 Midterm18 Midterm18 6390 Jun 4 18:59 sorteddirectories -rw-------. 1 Midterm18 Midterm18 6475 Jun 4 18:58 sortedfiles 

Show more
Files: midterm2019-online.pdf
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question