WSL doesn't redirect me to google chrome

In order for my script to run successfully, I need to insert the URL of the site that the API redirected me to. Everything works in my Windows Powershell, I run my code and my Google Chrome tab opens, I successfully copy the address and you’re done. But when I run this code on WSL(Windows… Read More WSL doesn't redirect me to google chrome

Grep "Exception" but filter out one specific case, based on previous line

In my application, I have modified all IP addresses, in order not to disturb the actual production system. As a result, my application is throwing lots of exceptions. Those are kept in a logfile, called filename. I would like to filter the exceptions, but I don’t want to see the ones, caused by the modification… Read More Grep "Exception" but filter out one specific case, based on previous line

wsl: 'which java/whereis java' give wrong information

I have installed wsl2,and then installed jdk 17. Now I want to configure JAVA_HOME. When I do: $ which java /usr/bin/java $ whereis java java: /usr/bin/java But I don’t see any java folder in /usr/bin. Instead, I found java in /usr/lib/jvm: $ pwd /usr/lib/jvm $ ls java-1.17.0-openjdk-amd64 java-17-openjdk-amd64 Why so? >Solution : Because java isn’t… Read More wsl: 'which java/whereis java' give wrong information