smile-sunshine

scp就是secure copy,一个在linux下用来进行远程拷贝文件的命令。

Windows到Linux:

注意:在Windows中获取文件路径时是以\'\\'为间隔的,而在Linux中是以\'/\'为间隔的。

Windows:

Linux:

 

在Windows下打开git bash,用scp将文件拷贝到Linux时,注意不能直接使用Windows下得到的路径,而要将分隔符从\'\\'改成\'/\',才能实现拷贝。

错误示范:

 

正确示范:

分类:

技术点:

相关文章:

  • 2021-12-18
  • 2021-09-05
  • 2021-12-28
  • 2021-09-04
  • 2021-12-28
  • 2021-11-15
  • 2021-12-28
  • 2021-12-28
猜你喜欢
  • 2019-12-03
  • 2021-09-14
  • 2019-01-09
  • 2017-12-15
  • 2021-12-28
  • 2021-12-28
  • 2021-12-28
相关资源
相似解决方案