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
Looking for solution of this Assignment?
WHY CHOOSE US?
We deliver quality original papers |
Our experts write quality original papers using academic databases.We dont use AI in our work. We refund your money if AI is detected |
Free revisions |
We offer our clients multiple free revisions just to ensure you get what you want. |
Discounted prices |
All our prices are discounted which makes it affordable to you. Use code FIRST15 to get your discount |
100% originality |
We deliver papers that are written from scratch to deliver 100% originality. Our papers are free from plagiarism and NO similarity.We have ZERO TOLERANCE TO USE OF AI |
On-time delivery |
We will deliver your paper on time even on short notice or short deadline, overnight essay or even an urgent essay |