Convert windows path to WSL path format

Convert windows path to WSL path format

Let say that we want to cd to a windows explorer directory and we don’t want manually to rewrite all the backslashes. We could write a bash cmd which does just that. cd $(echo ‘C:\laragon\www\docker\phpfpm-mysql-nginx’ | sed ‘s/\\/\//g’ |...

Windows – Get PID service file path

In PowerShell: General solution. To get path and other info of a process, you would run: $ Get-Process <options> | Select-Object <options> For specific process PID you would run: Example: Get-Process -Id 2728 | Select-Object -Property ProcessName, Id, WS,...