Tweaking WSL (Windows Subsystem for Linux)

Change apt mirrors (India only)

# Create backup first
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup

# Download modified sources.list
wget https://gist.githubusercontent.com/Dibbyo456/e395373796ffba5005aa5e771ad7da1b/raw/e6e0865a788929cb17b7d60b4863e8dd6f3f8026/sources.list

# Replace 
sudo mv sources.list /etc/apt/

Fix files/folder permissions

https://www.turek.dev/post/fix-wsl-file-permissions/

Add some useful aliases

cd && touch .bash_aliases

add below lines to .bash_aliases

# Open Windows Explorer with current directory.
alias exp='explorer.exe .'

# View files and directories permission of current directory as octal format.
# https://askubuntu.com/a/152003
alias llo='stat -c "%a %n" *'

# Open Sublime Text.
alias subl='"/mnt/c/Program Files/Sublime Text 3/subl.exe"'

Reload the current bashusing

source ~/.bashrc

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