Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

restart wsl2

wsl --shutdown
wsl
Comment

wsl restart

# close all apps accessing linux files (e.g. vscode)

# shutdown WSL distribution
$ wsl --shutdown Ubuntu

# confirm WSL distribution has shut down
$ wsl -l -v

# start the WSL distributuion again
$ wsl -d Ubuntu
Comment

restart wsl2 windows

# in powershell as administrator:
Restart-Service LxssManager
Comment

wsl restart

wsl.exe --shutdown
wsl
Comment

reboot wsl2 terminal

wsl -t <DistroName>
Comment

reboot wsl2 terminal

wsl -d <DistroName>
Comment

PREVIOUS NEXT
Code Example
Shell :: git submodules pull 
Shell :: install teamviewer ubuntu 20.04 
Shell :: certbot remove certificate for domain 
Shell :: git pull all branches at once 
Shell :: nginx: [error] open() "/run/nginx.pid" failed (2: No such file or directory) 
Shell :: how to kill tasks using grep 
Shell :: install angular globally 
Shell :: ubuntu 20.04 install yarn 
Shell :: uninstall zoom command line 
Shell :: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? 
Shell :: laravel install ui bootstrap with auth 
Shell :: restart nginx server 
Shell :: linux remove java 11 
Shell :: bash: npm: command not found 
Shell :: jupyterlab python setup 
Shell :: git command to get the repo url 
Shell :: Unable to resolve dependency tree error when installing npm packages 
Shell :: install yarn on centos 
Shell :: kubernetes get cluster info 
Shell :: gensim install conda 
Shell :: how to remove go in ubuntu 
Shell :: debian install vim 
Shell :: install curl in alpine linux 
Shell :: git reset to remote 
Shell :: restart lampp command terminal 
Shell :: install brave browser on linux 
Shell :: vim wsl copy to windows system clipboard 
Shell :: Install dia for linux ubuntu 
Shell :: how to edit bash profile 
Shell :: get-docker sh 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =