Looking for CMP4265 Applied Operating Systems A S2 2024/5 test answers and solutions? Browse our comprehensive collection of verified answers for CMP4265 Applied Operating Systems A S2 2024/5 at moodle.bcu.ac.uk.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
What does the following line mean?
#! /bin/bashWhat does the following line mean?
# My first shell scriptSave the file and then set the permissions on the file to allow it to run as a script. How would you do this?
What did you type to edit the file?
How did you restart the service?
From the Admin machine, test that you can access the Server machine using SSH with keys enabled.
What command would you enter to do this on Admin?
When you accessed Server this time, what was different for when you previously used password access?
What is the path to this your .ssh directory? (hint .ssh is a hidden directory - how can you see it?)
What is the full command you entered to do this?
On the Admin Virtual Machine create the directory 'Fruit' then move 'apples.txt' into it. What is the bash command to securely copy the directory 'Fruit' to the Server Virtual Machine? (HINT: if you don't know look it up in the Man page for scp!)