Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

wsl2 settings

[wsl2]
# https://docs.microsoft.com/en-us/windows/wsl/wsl-config (Docs)
# https://github.com/microsoft/WSL/issues/4166 (Topic)
memory=4GB
swap=16GB
localhostForwarding=true
Comment

WSL2 .wslconfig Windows

# turn off all wsl instances such as docker-desktop
wsl --shutdown
notepad "$env:USERPROFILE/.wslconfig"

# .wslconfig
[wsl2]
memory=3GB   # Limits VM memory in WSL 2 up to 3GB
processors=4 # Makes the WSL 2 VM use two virtual processors
Comment

PREVIOUS NEXT
Code Example
Shell :: how to check what module pip has already install 
Shell :: show file format snowflake 
Shell :: search tag git 
Shell :: grep without pattern 
Shell :: conda install easydict 
Shell :: scp local to remote 
Shell :: command not found 
Shell :: aws cli create ecr repository if not exists 
Shell :: install rest framework django command ubuntu 
Shell :: install perl 5 on ubuntu 2020 
Shell :: cp command exclude files 
Shell :: surge delete project 
Shell :: ssh for github 
Shell :: git pull if exist and clone 
Shell :: enable remote desktop powershell server 2019 
Shell :: running splash in docker command line 
Shell :: kubectl get namespaces 
Shell :: git move head to specific branch 
Shell :: setup redis ubuntu 
Shell :: remi repo 
Shell :: install anaconda 
Shell :: relaunch doc macos 
Shell :: bash get current process id 
Shell :: install rstudio ubuntu 20.04 
Shell :: brew upgrade 
Shell :: gnome 42 force dark mode 
Shell :: publish website locally 
Shell :: git change date 
Shell :: comments in bash file 
Shell :: dns benchmark arch linux 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =