Changes

Jump to: navigation, search

Tutorial6: File Transfer / Sending Email Messages

186 bytes added, 09:41, 23 January 2021
INVESTIGATION 1: USING SECURE COPY
</tr>
</table><br><br>
# <ol><li value="3">When you have issue the above ssh command, enter your password to login.</li><li>Issue the following Linux commands to create the following directories:<br><span style="color:blue;font-weight:bold;font-family:courier;">mkdir ~/frommatrix<br>mkdir ~/destination</span><br><br># <li><li>Change to the '''~/frommatrix''' directory and confirm that you have changed to that directory.<br><br># </li><li>Use a text editor to create a text file called '''myfile.txt'''<br><br># </li><li>Enter the following two lines displayed below in your editing session:<br><span style="font-family:courier;font-weight:bold;">This is my file<br>It is a small file</span><br><br></li><li></ol>  
# '''Save''' editing changes to your ''myfile.txt'' file and exit your text editor.<br><br>
# 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 that you created the correct directories<br>and that you created the '''myfile.txt''' file (with correct file contents) in the '''~/from''' directory<br>before using the ''scp'' Linux command.<br><br>
13,420
edits

Navigation menu