8,367
edits
Changes
→How to upload files using the scp command
<li><p>Use the scp command to upload files from the Ubuntu PC to the Linux system of the development board. The specific commands are as follows</p>
<ol style="list-style-type: lower-alpha;">
<li><p>'''file_path:'''Need to be replaced with the path of the file to > be uploaded</p></li>
<li><p>'''orangepi:''' It is the user name of the Linux system of the > development board, and it can also be replaced with other > ones, such as root</p></li>
<li><p>'''192.168.xx.xx:''' It is the IP address of the development > board, please modify it according to the actual situation</p></li>
<li><p>'''/home/orangepi:''' The path in the Linux system of the > development board can also be modified to other paths</p>
{| class="wikitable" style="width:800px;" |-| <p>test@test:~$ '''scp file_path orangepi@192.168.xx.xx:/home/orangepi/'''</p>|}</li></ol>
</li>
<li><p>If you want to upload a folder, you need to add the -r parameter</p>
{| class="wikitable" style="width:800px;" |-| <p>test@test:~$ '''scp -r dir_path orangepi@192.168.xx.xx:/home/orangepi/'''</p>|}</li><li><p>There are more usages of scp, please use the following command to view the man manual</p></li></ol>
{| class="wikitable" style="width:800px;"
|-
|
test@test:~$ '''man scp'''
|}
</ol>
<span id="how-to-upload-files-using-filezilla"></span>
==== How to upload files using filezilla ====