Remove Win10's Path from WSL
https://stackoverflow.com/questions/51336147/how-to-remove-the-win10s-path-from-wsl Go to .bashrc file cd nano ~/.bashrc Add this code to at the end of .bashrc file PATH=$(/usr/bin/printenv PATH | /usr/bin/perl -ne 'print join(":", grep { !/\/mnt\/[a-z]/ } split(/:/));') Then restart the bash shell and see if $PATH has been changed. echo $PATH
terminal
2020. 8. 10. 15:13