在windows 10中访问wsl(linux子系统)的方式(反过来又如何)

在windows文件管理器中访问wsl(windows subsystem for linux)文件系统

  1. 进入安装好的wsl终端,输入如下命令:
    1
    $ explorer.exe .
    其中,explorer.exe为文件管理器的可执行文件,.代表当前目录(家目录)。

    在wsl中访问windows的本地文件

  2. 默认情况下,windows的各个分区以盘符作为挂载点,在wsl中可以通过目录/mnt/c进行访问,其中c代表C盘,其他分区依次类推。
    1
    $ cd /mnt/c

    在linux哲学中,一切皆是文件。

在windows 10中访问wsl(linux子系统)的方式(反过来又如何)

http://kylepeng93.github.io/2021/04/01/the-way-of-accessing-wsl-file-system-in-windows/

作者

彭凯

发布于

2021-04-01

更新于

2021-04-01

许可协议

You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

评论

You forgot to set the shortname for Disqus. Please set it in _config.yml.