M01: Introduction to Operating Systems TU1: Installing, configuring and exploiting a computer system
ASIX/DAW/DAM-1
Practical Exercise 2: Operating system overview
30-09-2016

PRACTICAL EXERCISE 2: OPERATING SYSTEM OVERVIEW

GENERAL CONDITIONS

1- Deadline: 9-10-2016.
2- Send your report as a PDF file attached to an e-mail with the following specifications:
     a) E-mail address:
cf(at)collados.org or jordi.binefa(at)fje.edu depending on who is your teacher
     b) File Name:
        b.1)
ASIX1 (Catalan): asix1_surname_name_m01tu01pr2.pdf
        b.2)
DAW1 (English): daw1_surname_name_m01tu01pr2.pdf
    
c) Subject:
       c.1)
ASIX1 (Catalan): asix1_surname_name_m01tu01pr2
       c.2) DAW1 (English): daw1_surname_name_m01tu01pr2
3- Make this report individually.
4- Left, right, top and bottom margins: 2cm.
5- Character format: a) Font: Arial, b) Size: 10, c) Questions typeface: Bold, d) Answers typeface: Regular

PRACTICAL EXERCISE
First of all, start the OpenOffice Writer text editor.  Format your document according to requirements given in "GENERAL CONDITIONS". Copy and paste every question of this exercise in your document. Make every question bold. Save the document as asix1_surname_name_m01tu01pr2.odt or daw1_surname_name_m01tu01pr2.odt.
QUESTIONS - PART 1
1.-
Take a screenshot of your Desktop. Insert the image of your Desktop into your document as the answer to this first question.
2.- Open your  personal folder
Take a screenshot of your personal folder. Insert the image of your personal folder into your document as the answer to this question.
3
.- Create a new folder called question3 inside your personal folder.
Take again a screenshot of your personal folder with the newly created folder clearly visible. Insert the image into your document as the answer to this question. Save your document.
4
.- Create a new folder, called test01, inside your personal  folder. Open folder test01 Take  a screenshot of test01. Insert the image into your document as the answer to this question.
5.- Return back to your personal folderRename the folder test01. Its new name has to be test02. Explain how you have renamed the folder.
Take again a screenshot of your personal folder with the renamed folder clearly visible. Insert the image into your document as the answer to this question.
6.- Create a new folder, called test03, inside your personal folder. Copy test03 inside test02. Explain how you have copied folder test03 inside test02.
Take  a screenshot of test02 with test03 clearly visible. Insert the image into your document as the answer to this question.
7.- Create a new folder, called test04,inside your personal folder. Move test04 to test02. Explain how you have moved folder test04 to test02. What is the difference between copying and moving a file?.
Take  a screenshot of test02 with test04 clearly visible. Insert the image into your document as the answer to this question.
8.- Move test04 to the Trash.Take  a screenshot of your Trash with test04 clearly visible. Insert the image into your document as the answer to this question.
9.-
Select the folders Documents, Templates and Public. Copy these folders inside test02. Explain the process for selecting and copying the mentioned folders inside test02.
Take  a screenshot of test02 with Documents, Templates and Public clearly visibles. Insert the image into your document as the answer to this question.
10.- Copy 
asix1_surname_name_m01tu01pr2.odt  or daw1_surname_name_m01tu01pr2.odt inside test02 Rename the document to test02.odt. Explain how you have changed the file name.Take  a screenshot of test02 with test02.odt clearly visible. Insert the image into your document as the answer to this question.
11.- Start the geany Copy and paste the next code:
# Script to print current local date and time
#
#!/bin/bash
clear
DATE=$(date +%x)
TIME=$(date +%X)
echo "Hello $USER"
echo "Local Date: $DATE"
echo "Local Time: $TIME"
exit 0
Save this script in a file with the following specifications:a) Folder: your personal personal folder. b) File Name: script.sh.
Take a screenshot of your personal folder with the newly created file clearly visible. Insert the image into your document as the answer to this question. Save your document.
12.- What is the main difference between geany and Open Office Writer?.
13.-
Move script.sh to test02. Explain how you have moved the file
script.sh inside test02.
Take  a screenshot of test02 with script.sh clearly visible. Insert the image into your document as the answer to this question.
14.- Move script.sh to the
Trash. Take  a screenshot of your Trash with script.sh clearly visible. Insert the image into your document as the answer to this question.
15.- Open the Trash bin. Select and restore script.sh. Where has script.sh been restored?
16.- Empty the Trash bin. Explained how you have empited the Trash bin.
Take  a screenshot of your Trash. Insert the image into your document as the answer to this question.
17.- Show the hidden files and folder of your personal personal folder. Explain the process for showing hidden folders and files. Take a screenshot of your personal folder with the hidden files and folders clearly visible. Insert the image into your document as the answer to this question. Save your document.
18.- Show files and folders of your personal personal folder in list form.
Take a screenshot of your personal folder with the hidden files and folders clearly visible. Insert the image into your document as the answer to this question.  Besides name, what others characteristics of your files and folder are showed?. Save your document.
19.- Add extra columns to your view of your personal personal folder in list form. Add columns Owner, Group and Date Accessed. Explain the process for showing extra columns to your view of
your personal personal folder. Take a screenshot of your personal folder with the new columns clearly visible. Insert the image into your document as the answer to this question. Save your document.
20.- Save your report with the answers to the first part of this exercise. Shut Down your system properly.

USB DRIVE - PART 2
1.-
Donwload and install VM VirtualBox Extension Pack.
2.- Plug your USB drive into your laptop and  Attach your USB drive to your virtual machine. 
Take a screenshot of your Desktop with the USB drive attached . Insert the image of your Desktop into your document as the answer to this question.
NOTE: If you are running a Debian or Ubuntu system as a host machine,  you should add your personal user to the virtualbox group of users, log out and log in again.
3.-  Open your USB drive in  your virtual machine. T
ake a screenshot of your USB drive. Insert the image of your opened USB drive into your document as the answer to this question.
4.- Open your USB flash drive. Create a new folder called usbquest3 inside your  USB flash drive. Copy your report (asix1_
surname_name_m01tu01pr2.odt or daw1_surname_name_m01tu01pr2.odt) inside usbquest3. Take a screenshot of your USB drive with your report clearly visibe. Insert the image  into your document as the answer to this question.
5.- Safely remove your USB flash drive. Explain the process of removing safely your USB drive. Detach your USB drive from  your virtual machine.
Explain the process of detaching your USB drive from the virtual machine. 
6.- Save your report with the answers to the second part of this exercise
. Shut Down your system properly.

SHARED FOLDER - PART3

1-
Create a new folder, called share, inside the folder VirtualBox VMs of your host operating system.
2- Run VirtualBox. Select debian8v6 --> Shared folders.
3- Create a new shared folder with the following features:
    a) Folder Name: share
    b) Folder Path --> Select the folder  created in the first step
    c) Select Auto-mount
4-
Boot your virtual machine.
5-
Start a terminal (MATE Terminal) and using the su - command, become the root user.
6- Provide your user with the proper permissions to work with shared folders by running the command: gpasswd  -a  xxyyzz  vboxsf  (where xxyyzz is the user created by you during the first prąctical exercise).
7- Log out as root user. Log out as normal user from your desktop. Gain access to your desktop again.
8- Select Places --> Computer --> File System --> media --> sf_share.
Copy your report (asix1_surname_name_m01tu01pr2.odt or daw1_surname_name_m01tu01pr2.odt) inside sf_share. Take a screenshot of sf_share. Insert the image into your document as the answer to this question. Save your document.
9- Open the folder share  created in the first step. What have you found in that folder of your host machine?. Answer the question and save your document. Create the PDF version of your document.
10- Send your report according to the General Conditions that you can find at the top of this exercise. Finally, s
hut down your system properly.