Open main menu

CDOT Wiki β

Changes

OPS705 Lab 3 (2211)

6 bytes added, 14:24, 26 January 2021
m
INVESTIGATION 4: Moving Files
= INVESTIGATION 4: 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, 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 text files.]]
# On your Linux VM, from your home directory, download script for this lab with the following command: <code>wget https://ict.senecacollege.ca/~chris.johnson/ops705/lab3_script.bash</code>
# Run the script: <code>~/lab3_script.bash</code>
# Check that the files 13-17 have been created in '''~/tmp''' (These ''must'' come from the script, do not create them yourself)
# Using ''Figure 2 '' as a model, create the '''~/shared''' directory structure# Using ''Figure 2 '' as a model, move the files from '''~/tmp''' to their proper location in '''~/shared'''
Voila, you're done!