Windows Subsystem for Linux (WSL)
Windows Subsystem for Linux (WSL) Blog Archives: Includes useful tips for exploring WSL, written by a Microsoft SQL Server Database Administrator.
-
How to Back Up and Restore a WSL Distro
A WSL distribution is one command away from being a single tar file you can copy, archive, or restore onto another machine.
-
How to Limit WSL 2 Memory and CPU Usage
WSL 2 will happily take a large share of your RAM and not give it back quickly. A .wslconfig file in your user folder puts a ceiling on it.
-
How to Change the Default User in WSL
WSL logs you in as whichever account you created first. One command changes that, and it no longer needs you to edit a config file inside the distro.
-
How to Install PowerShell on Ubuntu
This guide will walk you through installing PowerShell on Ubuntu 20.04. I'm doing this on Windows Subsystem for Linux (WSL), and have not encountered any…
-
How to Restart WSL (wsl --shutdown and wsl --terminate)
Run wsl –shutdown to restart all of WSL, or wsl –terminate to restart one distro, then open it again. Which one you need after a .wslconfig change, and why it can start again by itself.
-
How to Upgrade WSL from Version 1 to Version 2
This guide explains how to upgrade your Windows Subsystem for Linux (WSL) distribution from Version 1 (WSL 1) to Version 2 (WSL 2).
-
How to Downgrade WSL 2 to WSL 1 (wsl --set-version)
Switch a WSL distro from WSL 2 to WSL 1 with wsl –set-version, check it with wsl -l -v, and enable WSL 1 support first if WSL was installed from the Microsoft Store.
-
How to Check the Linux Version in Ubuntu
To check the Linux version running on an Ubuntu system, you can use the lsb_release -a or cat /etc/os-release commands. This is especially useful when…
-
Open WSL Files in Windows File Explorer
If you work with Windows Subsystem for Linux (WSL), you may need to open WSL files in Windows File Explorer for easier file management. This post gives some…