Windows与Linux文件互传

简介: Windows与Linux文件互传

Windows传文件到Linux,与Linux传文件到Windows,步骤相反,所以本文只演示Windows传文件到Linux


一、Windows下操作


1.在VM虚拟机上找到虚拟机

0a2653c851af460fa595bd959398a8f1.png

2.点击设置

2d65d23f6d4748949b924e4057485923.png

3.点击选项页面

2e9b90b2ca334476abebe75bafe6eeaa.png

4.双击共享文件夹

4cebaac233b3433da32a72337a77fc60.png

5.配置如下,点击添加

6de278e6d6694ce5bb08e7e842b7e74b.png

6.点击下一步

8ec4f2997fb246878c34ecd6d122b7c6.png

7.点击浏览,选择在你Windows下所要共享文件的地址

12c3b7f3f8814309a195c64f051d4445.png

8.选择启用此共享,点击完成

34e8d716411043c08c7ffba9fbba23de.png

9.这时就有显示

77d357a1ae214365bc38e991ad3f543e.png


二、Linux下操作


首先,我们所共享的文件在mnt/hgfs/下

输入:


cd /mnt/hgfs    #进入到共享路径
ls              #查看文件是否存在


0a2653c851af460fa595bd959398a8f1.png

然后通过cp命令,复制到你想要的路径下,这样就行啦~


相关文章
|
安全 Linux 生物认证
Nexpose 8.25.0 for Linux & Windows - 漏洞扫描
Nexpose 8.25.0 for Linux & Windows - 漏洞扫描
789 0
Nexpose 8.25.0 for Linux & Windows - 漏洞扫描
|
安全 Linux iOS开发
Binary Ninja 5.1.8104 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
Binary Ninja 5.1.8104 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
999 53
Binary Ninja 5.1.8104 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
|
安全 Linux 生物认证
Nexpose 8.24.0 for Linux & Windows - 漏洞扫描
Nexpose 8.24.0 for Linux & Windows - 漏洞扫描
766 17
Nexpose 8.24.0 for Linux & Windows - 漏洞扫描
|
Linux API iOS开发
Binary Ninja 4.2.6455 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
Binary Ninja 4.2.6455 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
934 14
Binary Ninja 4.2.6455 (macOS, Linux, Windows) - 反编译器、反汇编器、调试器和二进制分析平台
|
SQL 安全 Linux
Metasploit Pro 4.22.8-20251014 (Linux, Windows) - 专业渗透测试框架
Metasploit Pro 4.22.8-20251014 (Linux, Windows) - 专业渗透测试框架
745 1
Metasploit Pro 4.22.8-20251014 (Linux, Windows) - 专业渗透测试框架
|
Linux 网络安全 iOS开发
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
1486 1
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
|
安全 Linux 网络安全
Metasploit Pro 4.22.8-2025091701 (Linux, Windows) - 专业渗透测试框架
Metasploit Pro 4.22.8-2025091701 (Linux, Windows) - 专业渗透测试框架
689 2
Metasploit Pro 4.22.8-2025091701 (Linux, Windows) - 专业渗透测试框架
|
安全 Ubuntu Linux
Nexpose 8.21.0 for Linux & Windows - 漏洞扫描
Nexpose 8.21.0 for Linux & Windows - 漏洞扫描
363 4
Nexpose 8.21.0 for Linux & Windows - 漏洞扫描
|
JSON 安全 Linux
Nexpose 8.22.0 for Linux & Windows - 漏洞扫描
Nexpose 8.22.0 for Linux & Windows - 漏洞扫描
443 1
Nexpose 8.22.0 for Linux & Windows - 漏洞扫描
|
Linux 网络安全 iOS开发
Metasploit Framework 6.4.90 (macOS, Linux, Windows) - 开源渗透测试框架
Metasploit Framework 6.4.90 (macOS, Linux, Windows) - 开源渗透测试框架
783 1
Metasploit Framework 6.4.90 (macOS, Linux, Windows) - 开源渗透测试框架