Skip to content
Advertisement

Tag: windows-subsystem-for-linux

How to grant permissions to VS Code to modify files in Windows Subsystem for Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

how to avoid enviroment variable from resetting in WSL terminal after restart?

environment variable set (in zsh shell) in WSL disappears after restarting the terminal. I have used to set environment variable. how should I avoid env variable from resetting after restart. Answer I added environment variable in .zshrc file after reading comment of @Biswapriyo. like this- export variable_name=variable_value and now it works. I think, at every startup, scripts in .zshrc file

Weird recursive directory structure

Somehow, my system (Ubuntu WSL layer on Windows; so treat as exactly Ubuntu) went a bit crazy. For a directory (a git repo if it matters) /path/to/foo, running ls shows the git files ORIG_HEAD, index, and index.lock in there. I tried to debug this by going cd .git, but an ls there showed me my same list of files as

Valgrind does not work with WSL?

When I installed WSL for my computer I was very excited to have a more natively supported Linux system rather than using VirtualBox. However I get this error when I try to run it. Is there a reason why? I am happy to give more information as required. Answer It’s definitely possible I’ve encountered some problems installing it directly with

Advertisement