【问题标题】:SCP command works, but I cannot find downloaded fileSCP 命令有效,但我找不到下载的文件
【发布时间】:2017-03-03 14:58:03
【问题描述】:

我使用 Putty 远程访问我的 Raspberry Pi。我正在尝试从另一台计算机 scp 文件。 scp 命令有效,它显示文件已下载,但是,我在树莓派上找不到任何东西。

谁能帮我解决这个问题?

谢谢!

Here is the screenshot

【问题讨论】:

    标签: linux ssh raspberry-pi putty scp


    【解决方案1】:

    您已将该文件下载到 /Documents 而不是 ~/Documents。将您的 scp 命令更改为:

    scp pi@155.198.134.5:test.txt ~/Documents
    

    您将能够在您的文档目录中找到它。或者将已下载的文件移动到您的主目录:

    mv /Documents ~/Documents/test.txt
    

    【讨论】:

    • 哦,就是这样。非常感谢。
    猜你喜欢
    • 2014-01-30
    • 2016-07-17
    • 1970-01-01
    • 2014-08-27
    • 2023-03-16
    • 2018-01-26
    • 1970-01-01
    • 2015-02-28
    • 2022-08-17
    相关资源
    最近更新 更多