BEST代写-线上编程学术专家

Best代写-最专业靠谱代写IT | CS | 留学生作业 | 编程代写Java | Python |C/C++ | PHP | Matlab | Assignment Project Homework代写

LINUX代写 | COMP502 Assignment Part 2/3: UNIX Operating System

LINUX代写 | COMP502 Assignment Part 2/3: UNIX Operating System

UNIX操作系统和使用基本Unix命令

COMP502 – Foundation of IT Infrastructure

Semester 2, 2019

Assignment Part 2/3: UNIX Operating System and Working with Basic Unix Commands

Total Marks 100 (Contribution to the final mark: 15%)

Due: 23:59 pm, Sunday.  22 September 2019 (end of AUT calendar week 8).

Late penalty: Late submissions will be penalised at 5% of the actual assignment mark for every calendar day. E.g. assignments submitted 5 minutes late are penalised as one day late. Late work of 5 or more days will not be marked.

 

ASSIGNMENT AIM

This assignment will help you understand how to install multi-operating systems using VirtualBox and comparatively evaluate the Operating System (OS) of your choice.

This assignment is also prepared for students to understand the basic concepts covering UNIX file systems, UNIX commands, and UNIX working environments.

 

Miscellaneous requirements:

  • The assignment will not be marked if:
    • It contains any form of malware  (e.g. computer virus)
    • Submitted in non-requested compression format (e.g. 7zip, rar, …)
    • Not submitted in a correct file format (see section: REPORT SUBMISSION INSTRUCTION)
  • Keep a backup copy of your assignments to be:
    • uploaded to “Turnitin” anti-plagiarism service – if requested.
    • submitted as a hard copy – if requested.

 

Instruction for Submission

The assignment must be submitted on AUT ONLINE / Blackboard in soft copy at:

Assessments > Current Assessments > Assignment Part 2/3: UNIX OS and Commands.

 

  1. Create a PDF version of your assignment and name it as LAST NAME_Student-ID.pdf. Then upload it to AUT ONLINE / Blackboard.
  2. Note that RAR, 7zip or virus contaminated files will not be marked (automatic failure)
  3. The assignment requires the use of VirtualBox, which should be installed on every machine in the lab. If you would like to install VirtualBox on your own machine, you can download it at https://www.virtualbox.org/

 

 

 

 

 

 

 

 

 

 

 

 

 

To answer the assignment questions, you must use CLI and provide:

  1. The text or screen-shots of command(s) that you type to perform a task.
  2. The text or screen-shots of any console output from those commands (the output from a directory listing, for example).
  3. Make sure that you include ALL commands you used to do a task. This includes any commands you have to type to move to a specific directory. Make sure your pasted texts or screen-shots are clear enough to show where you are or have moved to.

 

Section One

Question 1: Setting up three different Linux operating system (18 marks)

Obtain your own copy of mandatory Linux distribution  You can download any ISO images from the Internet (at – http://linuxlookup.com/linux_iso or http://virtualboxes.org/images). Once you get a copy of an ISO image, you can install it on Virtual Box.

  1. Choose and install any three of the Linux operating system and display some screen-shots of your installation, including your name and ID in the screenshots (use OS Text Editor application). (12 marks)

Note: any Linux distributions except that Puppy is acceptable.  

  1. Briefly describe the three Linux operating systems that you just installed, which one do you like better and why? (at least 3 reasons by considering GUI or CLI features) (6 marks)

 

Section Two

For this section choose one of the installed OS from the previous section and perform the

Question 2: Manipulate directory structures in Unix/Linux (24 marks – 4 marks each)

Use the OS that you set up from Question 1. Assume you are started at your home directory.

  1. Perform a command that displays the absolute path of your home directory (your current location).
  2. Create a new directory inside your home directory and name it “Assignment-2”
  3. Without moving into the directory you just made (staying in your home directory), create two new directories using one command inside of the Assignment-2 directory, and name them Test1 and Test2.
  4. Now navigate to the Assignment-2 directory and display the contents of your current working directory (the directory Assignment-2).
  5. Delete the directory Test2 and display the contents of the directory Assignment-2, this time using the long listing format and sort by modification time.

 

  1. Delete the directory “Assignment-2 and display the contents of the home

Question 3: Manipulate files in UNIX (30 marks – 3 marks each)

Assume you are started at your home directory again.

  1. Create and change your current working directory to FITI-HW (Stay in this directory for the rest of the steps in question 3)

 

  1. Create two new subdirectories called Part1 and Part2 in FITI-HW
  2. Create a new file called “txt” using the touch command and insert three lines into the file.
    1. The first line should contain your name and ID number.
    2. The second line should be a sentence that tells me your favourite
    3. The third line should be a sentence that tells me your favourite
  3. Display the contents of the file “txt” to the standard output (screen).
  4. Display the number of lines in the file “txt”
  5. Copy the file “txt” to directory “Part1” and rename it to “t_1.txt”.
  6. Change your working directory to “Part1”. Make a copy of “txt” with the name “t_2.txt” (in the same directory).
  7. Display the current contents of the directory “Part1” using long format.
  8. Copy the “txt” file to directory “Part2” and Display the current contents of the directory “Part2”.
  9. Delete the file “txt” in the directory “Part 1” and display “Part 1” directory contents

 

 

Question 4: Manipulate files in UNIX using wildcards (28 marks – 4 marks each)

  1. Change your current working directory to FITI-HW and create a new directory called “Part3” and “Part4” in that your working directory.
  2. Create 15 new files using ONE COMMAND (in directory Part3) named as follows:
    • bak
    • txt
    • bak
    • wumbo.file
    • txt
    • woot
    • txt
    • doodad.text
    • coursetxt
    • Test_1-2.xtxt
    • Test_2-2.xtxt
    • Test_1-1.bak
    • txt
    • bat
    • file
  3. Display a listing of all the files and directories in long format in the current working directory.
  4. Display a listing of all the files in the current working directory ending with K using one command.
  5. Display a listing of all the files in the current working directory starting with t and ending with k using one command.
  6. Copy all the files containing “Test” to the directory Part4 using one command.
  7. Display a listing of the contents of the directory Part4, without navigating to the directory.
bestdaixie