Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
63 views

Why isn't the local rust documentation not opening?

I'm on the introduction part of the book The Rust Programming Language. More specifically, I'm trying to install rustup. Since my OS is the 64-bit Windows 11, I had to go to the rustup website for ...
Birjis Afroz's user avatar
-1 votes
0 answers
9 views

Output of hostname -I not making sense to me [migrated]

I'm trying to understand networking, and I've noticed my router's local IP address is 10.0.0.1, but my computer's local ip address (found from hostname -I in a WSL shell) is 172,17.xx.xx. When I run ...
Kate's user avatar
  • 29
0 votes
0 answers
8 views

Deploying a MongoDB Cluster with Docker give "ReferenceError: <replicateSetName> is not defined" on window powershell but worked on WSL. Why?

So I am following this tutorial Deploying a MongoDB Cluster with Docker from MongoDB and using Powershell. But it gives the error as in the title: To my understanding I have defined it already in the -...
Johnny C.'s user avatar
0 votes
0 answers
24 views

Jupyter notebook not running in browser in WSL2

enter image description here I am unable to get the token for launching jupyter notebook in browser. What should I do next? Please let me know any auxiliary libraries that I have not yet downloaded. ...
user24195141's user avatar
2 votes
1 answer
133 views

Stuck at running commands inside WSL on a windows powershell gitlab runner

i try to execute commands inside wsl on a windows gitlab runner with a powershell executer. But i cant find a way to creat any outcome. This was my minimal starting setup that i try to run: qsys-build:...
rimi's user avatar
  • 53
0 votes
0 answers
15 views

Update multiples distros in WSL version 2 [duplicate]

HiI want to update using Powershell a powershell script, all the distros found in WSL (version 2) Unfortunately using this Powershell code, the wsl does not recognize the variable "$distros"....
Dextopik's user avatar
0 votes
0 answers
17 views

PowerShell "-like" not comparing true for identically printing strings [duplicate]

In my PowerShell script, I'm having a problem comparing the output of the wsl --list --all (Windows Subsystem for Linux) command using the -like operator. It simply will not compare as $true even ...
Dan Sorak's user avatar
  • 151
1 vote
1 answer
137 views

Looking for a way to open a shell inside a running Linux Subsystem on Windows

Is there a way to open an interactive shell inside a running Windows Subsystem for Linux process? I am not planning to do anything there, I'm just learning docker right now, so I am investigating some ...
Basti's user avatar
  • 692
0 votes
0 answers
54 views

Cannot log into integrated WSL Terminal in Visual Studio Code using correct password

Everytime i create a new WSL terminal window on Visual Studio Code for some reason I'm getting a wrong password. I know it's the correct one because I'm able to log in with no problem by using WSL ...
mpinto06's user avatar
1 vote
1 answer
214 views

wsl --set-default with variable in PowerShell

I'm trying to set the default Linux distribution with user selection in PowerShell script, but can't find any way to set the distribution using variable. Setting the default distribution either with ...
R. Adams's user avatar
0 votes
1 answer
1k views

Getting 'The certificate authority is invalid or incorrect' when running 'wsl --list -o'

What do I need to do to fix this error? I am running Windows 11 Home, Version 22H2, Build 22621.3007 PS C:\Users\andrew> wsl --list -o The certificate authority is invalid or incorrect PS C:\Users\...
slaughter98's user avatar
  • 1,853
0 votes
1 answer
135 views

How does the `guid` in dynamic profiles in Windows Terminal work to find the target?

I've worked with Windows Terminal for a while. Recently, I wanted to add some additional 3rd party command line tools into dynamic profiles in Windows Terminal. It must be successful if using ...
Little Train's user avatar
1 vote
1 answer
2k views

wsl commands not responding on windows cmd and powershell [closed]

I hade both Docker desktop and ubuntu latest (via Microsoft store) installed through wsl. Both of them not working at all. All the wsl command don't work (besides the ones I'll specify), and the cmd/...
Chen Peleg's user avatar
  • 1,580
0 votes
1 answer
169 views

`Get-ChildItem` does not throw a `cannot find path` error in a class function of PowerShell as expected

I'm working on a dev tool based on PowerShell. But it always failed in Ubuntu-Latest CI/CD tests. If interested, please check the GitHub Link of Actions After a day of trying, I found and minimized ...
Little Train's user avatar
0 votes
0 answers
80 views

How to access WSL path direct from windows API?

I have windows10 and WSL environment. Suppose I want to access a WSL file via windows API ,eg HFILE WINAPI OpenFile( _In_ LPCSTR lpFileName, _Out_ LPOFSTRUCT lpReOpenBuff, _In_ UINT uStyle )...
user392412's user avatar

15 30 50 per page
1
2 3 4 5
8