Linux

Last updated

October 9, 2022

Modified

July 11, 2025

System info


## Install the neofetch package
sudo apt install neofetch -y

## Show system info
neofetch --memory_unit gib

WSL Change sudo password

In the windows terminal, run the following command to change the sudo password:


wsl -u root

## Input the new password
passwd <username>

WSL configuration

  • WSL global config: C:\Users\<UserName>\.wslconfig
  • WSL distro config: \\wsl.localhost\Ubuntu-24.04\etc\wsl.conf