Open main menu

CDOT Wiki β

Changes

Tutorial6: File Transfer / Sending Email Messages

73 bytes added, 14:14, 29 January 2020
INVESTIGATION 1: USING SECURE COPY
# Issue the following Linux command: <br><span style="color:blue;font-weight:bold;font-family:courier;">scp myfile.txt yoursenecaid@matrix.senecacollege.ca:</span><br><br>Where do you think this file was copied to on your remote server?<br><br>
# Issue the '''ls''' command for the home directory.<br><br>What do you see?<br>What does this tell you about how the previously-issued command works with just a colon?<br><br>
# Issue the following Linux command (leaving-out the colon character at the end): <br><span style="color:blue;font-weight:bold;font-family:courier;">scp myfile.txt yoursenecaid@matrix.senecacollege.ca</span><br><br>What happened?(hint: look for a file named: '''yoursenecaid@matrix.senecacollege.ca'''<br><br>
# Make certain that your current directory is your '''home''' directory.<br><br>
# Issue the following Linux command to run a checking script to ensure you created the CORRECT directories, created and copied the correct files: <br><span style="color:blue;font-weight:bold;font-family:courier;">bash /home/murray.saul/scripts/week6-check-2</span><br><br>
13,420
edits