My Notes

2023年10月15日星期日

Remove Windows paths in WSL

In WSL,

sudo vi /etc/wsl.conf

[interop]
appendWindowsPath = false

In windows command prompt,

wsl --shutdown to restart the Linux

echo $PATH

to verify the path is correct


發佈者: yipxxx 於 上午8:43
以電郵發送這個BlogThis!分享至 X分享至 Facebook分享至 Pinterest
標籤: wsl

沒有留言:

發佈留言

較新的文章 較舊的文章 首頁
訂閱: 發佈留言 (Atom)

網誌封存

  • ►  2025 (2)
    • ►  12月 (2)
  • ►  2024 (1)
    • ►  12月 (1)
  • ▼  2023 (3)
    • ▼  10月 (3)
      • run riscv on qemu-system-riscv32
      • Increase swap size in WSL
      • Remove Windows paths in WSL
  • ►  2021 (19)
    • ►  12月 (1)
    • ►  4月 (2)
    • ►  3月 (15)
    • ►  2月 (1)
  • ►  2017 (9)
    • ►  8月 (4)
    • ►  6月 (1)
    • ►  3月 (4)
  • ►  2015 (8)
    • ►  10月 (2)
    • ►  9月 (2)
    • ►  8月 (3)
    • ►  4月 (1)
  • ►  2014 (7)
    • ►  12月 (1)
    • ►  11月 (3)
    • ►  3月 (2)
    • ►  2月 (1)
  • ►  2013 (15)
    • ►  11月 (2)
    • ►  10月 (1)
    • ►  8月 (8)
    • ►  7月 (4)

About me

我的相片
yipxxx
查看我的完整個人檔案
「簡單」主題. 主題圖片由 luoman 提供. 由 Blogger 提供.