Tweaking WSL (Windows Subsystem for Linux)

Use ‘exp’ command to open Windows Explorer

Login as root in WSL then:

touch /etc/profile.d/
nano /etc/profile.d/

Add the below lines to

alias exp="explorer.exe ."

Now, reload settings using

. ~/.profile
. /etc/profile

Done. Now whenever you type exp in WSL, it will open Windows Explorer with current directory.

Change apt mirror to India

sed -i 's/http:\/\/us./http:\/\/in./g' /etc/apt/sources.list

# or use

sed -i 's|||' /etc/apt/sources.list

Make Rclone to use the same config as Windows

ln -s /mnt/c/Users/HARRY/.config/rclone/rclone.conf /home/harry/.config/rclone/rclone.conf