Open main menu

CDOT Wiki β

Changes

Tutorial6: File Transfer / Sending Email Messages

283 bytes added, 18:33, 27 January 2020
INVESTIGATION 1: USING SECURE COPY
# Change back to your '''home''' directory and confirm that you are located in your ''home'' directory.<br><br>Let's run a '''shell script''' to check to make certain that you created the correct directories<br>and that you created the '''myfile.txt''' file (with correct file contents) in the '''~/from''' directory<br>in order to practice using the ''scp'' Linux command.<br><br>
# Issue the following Linux command to run a checking script: <span style="color:blue;font-weight:bold;font-family:courier;">bash /home/murray.saul/scripts/week6-check-1</span><br><br>
# If you encounter errors and re-run the checking script until you receive a congratulations message, and proceed to the next step.<br><br>'''NOTE:''' In order to learn to scp files to another server account, we need to obtain a Linux server we can pratice with. You will perform the following steps to obtain a free Linux account:<br><br># Open a web-browser and go to the following web-site: https://sdf.org/<br><br>#
# Although you are in your Matrix account, issue the following Linux command (i.e. yoursenecaid is YOUR Seneca ID):<br><span style="color:blue;font-weight:bold;font-family:courier;">sftp yoursenecaid@matrix.senecacollege.ca</span><br><br>
# When prompted, enter your Matrix password.<br><br>
13,420
edits