Changes

Jump to: navigation, search

OPS705 Lab 3 (2221)

68 bytes added, 08:28, 23 September 2022
m
Chris.johnson moved page OPS705 Lab 3 to OPS705 Lab 3 (2221) without leaving a redirect: Archive copy.
# Connect to the VM remotely using SSH
# Navigate to your home directory with this command: <code>cd ~</code>
# In your home directory, recreate the yellow portion of the directory tree in Figure 1. (''yourusername'' should be your own username home folder that already exists.)# Using vim, create a new file called ''yourusername''_lab3.txt in your home directory, and add the following text: <code>My name is ''insertFullName'', and I've completed the CentOS VM investigationInvestigation 1.</code>
= INVESTIGATION 2: Moving Files =
In this investigation, you're tasked with '''moving ''' a set of existing files. You will download and run a script, which will create a set of files in '''~/tmp'''. It is then your job to create the directory structure seen in Figure 2, and move the files from '''~/tmp''' to their proper location according to the file tree diagram. '''Do not delete and recreate files, only move files, and do not delete your work from Investigation 1.'''[[Image:Ops705_lab3_fig2.png|thumb|right|250px|Figure 2. Square icons are directories, oval icons are empty script-generated text files.]]
# On your Linux VM, from your home directory, download script for this lab with the following command: <code>wget https://ictraw.senecacollegegithubusercontent.cacom/~chris.johnsonops705/labs/ops705main/lab3_generate.sh</code>
# Give the script execute permissions: <code>chmod u+x ~/lab3_generate.sh</code>
# Run the script: <code>~/lab3_generate.sh</code>
= Lab Submission =
# In your home directory, download the check script for this lab: <code>wget https://ictraw.senecacollegegithubusercontent.cacom/~chris.johnsonops705/labs/ops705main/lab3_check.sh</code>
# Give the script execute permissions: <code>chmod u+x ~/lab3_check.sh</code>
# Run the script: <code>~/lab3_check.sh</code>
Submit to Blackboard's ''Lab Submission'' section full-desktop screenshots (PNG/JPG) of the following:
# The entire output of the lab check scriptin a '''passed''' state.
Your professor will review your VMs directly; the screenshots are a backup in case of catastrophic issues.

Navigation menu