Tweaking WSL (Windows Subsystem for Linux)

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 sub='"/mnt/c/Program Files/Sublime Text 3/subl.exe"'

Reload the current bashusing

<span class="pln">source </span><span class="pun">~/.</span><span class="pln">bashrc</span>

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