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

PREVIOUS NEXT
Code Example
Shell :: how to check file size in linux 
Shell :: how to install scoop using powershell 
Shell :: Kali free ports in use 
Shell :: bash split string to array 
Shell :: webmin restart 
Shell :: ffmpeg not installed 
Shell :: install neo4j latest version ubuntu 
Shell :: how to install sublime text in kali linux 
Shell :: bash do multiple times 
Shell :: bat turn echo off 
Shell :: speedtest cli mac 
Shell :: open pdf command line linux 
Shell :: ubuntu start pycharm 
Shell :: remote desktop connection wsl2 
Shell :: stop tracking a file git 
Shell :: grep nth line 
Shell :: localhost run 
Shell :: ubuntu server add ssh key 
Shell :: vim jump to line number 
Shell :: committed to wrong branch 
Shell :: vscode tab not working 
Shell :: image converter linux 
Shell :: hardhat deploy 
Shell :: how to update to latest LTS version of ubuntu 
Shell :: ssh config 
Shell :: reverse search command mac 
Shell :: chocolatey installation 
Shell :: kafka set retention time for topic 
Shell :: Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this. 
Shell :: how to install node dependencies 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =