Resources:
https://wslutiliti.es/wslu/
https://www.freecodecamp.org/news/how-to-install-wsl2-windows-subsystem-for-linux-2-on-windows-10/
https://dev.to/bowmanjd/install-fedora-on-windows-subsystem-for-linux-wsl-4b26
https://learn.microsoft.com/en-us/windows/wsl/
printf "\n[user]\ndefault = myusername\n" | sudo tee -a /etc/wsl.conf
wsl -t fedora
Convert Paths between shells:
wslpath -w
Linux Configuration Files:/etc
Binaries:/bin, /sbin, /usr
System and Kernel:/dev, /sys, /proc
Display version of WSL:
wsl -l -v
Set Default Version of WSL:
wsl --set-default-version 2
Pipe Windows Command Output > into > Linux Terminal
dir c: | wsl wc - l
Accessing Files:
The Windows C: drive is available in Linux at /mnt/c
Linux home directory: /home/linux-username
Windows home directory: /mnt/c/Users/Windows-Username
Distro file system in Windows: \WSL$\Distro\
Additional Commands:
“commandline”: “wsl.exe -d fedora sudo service rsyslog start”
Add startup commands to the ~/.bashrc file
crontab -e