Mounting a Windows network drive on WLS

By default, you have no access to windows network directories. Those are not visible or accessible unless you will mount them in /mnt/somedir folder. Firts lets crete a folder with in mnt directory that will be then mounted to our network drive. sudo mkdir...
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’ |...