【问题标题】:How to change files at /home/ubuntu folder?如何更改 /home/ubuntu 文件夹中的文件?
【发布时间】:2018-04-11 08:39:07
【问题描述】:

适用于 Linux 的 Windows 子系统 (WSL) 我在 Windows 10 中使用 Ubuntu bash,但我创建了一个文件夹,但在 Windows 文件系统上找不到它。

在 Windows 中使用 bash 我在 /home/ubuntu 中创建了一个文件夹 现在我当然想在 Windows 上找到那个文件夹,设置一些文件并使用 Windows 的 notepad++ 更改它,而不是 bash。 这可能吗?

【问题讨论】:

  • 也许更适合超级用户。
  • DOS 的dir 相当于Linux 中的ls
  • 你不明白这个问题,我在 Windows 10 中使用那个 Ubuntu CLI 我不知道我在 Windows 文件系统上创建的文件夹在哪里。

标签: linux windows for-loop windows-subsystem-for-linux subsystem


【解决方案1】:

随着 Spring Creator's Update 的正式发布,WSL 根目录的位置发生了变化。它现在取决于发行版的选择。使用 Ubuntu,我在以下位置找到了我的:

C:\Users\oleni\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home

我把我的放在资源管理器的快速访问菜单中,以便更轻松地访问它。

【讨论】:

    猜你喜欢
    • 2019-04-22
    • 1970-01-01
    • 2013-01-07
    • 2018-04-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-17
    相关资源
    最近更新 更多