在Linux系统下访问Windows文件 & 利用Windows Explorer访问Linux文件

本文介绍了如何在Windows和Ubuntu之间通过WSL2互相访问文件。内容包括利用WSL2的Hyper-V技术提升文件访问速度,通过Linux的mnt目录访问Windows文件,以及在Windows Explorer和VS Code中访问Linux文件的方法。
摘要由CSDN通过智能技术生成

如何在 Windows 或 Ubuntu 里互相访问两边的文件呢?

这里我使用的是WSL2来运行Linux环境,如果对WSL不了解的小伙伴,可以查看下面来源于WSL2: Developer's Guide to Windows Subsystem for Linux 2 - SitePoint的一段解释:

The Windows Subsystem for Linux (WSL) lets developers run a Linux environment directly on Windows 10. It’s an unmodified OS, but highly integrated into Windows and without the overhead of a virtual machine.

WSL1 was groundbreaking and translated Linux system calls to Windows equivalents. This could be slow and several features weren’t available. WSL2 uses Hyper-V virtual machine technology so Linux compatibility is excellent and file access is up to 20x faster than before. 

此外,还推荐这篇博文来增加对OS的理解:

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值