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 safely remove partner modules magento2 
Shell :: bring job number to foreground linux 
Shell :: linux set multiline variable 
Shell :: npm ERR! Command failed: git clone --depth=1 -q -b 1.3.8 git://github.com/eligrey/FileSaver.js.git 
Shell :: gdal 0 1 raster to binary 
Shell :: how to install to mysql server in powershell 
Shell :: Install Specific Version of chrome on ubuntu 
Shell :: bash remove all files in directory except a few 
Shell :: mac os htop not returning cpu 
Shell :: ubuntu touchpad not working 
Shell :: python.h missing 
Shell :: Cannot determine which native SDK version your project uses because the module `expo` is not installed. Please install it with `yarn add expo` and try again. 
Shell :: ffmpeg resize video 
Shell :: how to use multiple commands in linux 
Shell :: bash view system log info 
Shell :: how to install nautilus 
Shell :: has_add_permission() takes 2 positional arguments but 3 were given 
Shell :: ubuntu logout 
Shell :: stripe installation 
Shell :: linux adress is already in use 
Shell :: Fix the upstream dependency conflict, or retry this command with --force, or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution. 
Shell :: how to create a new project using vite 
Shell :: git undo rebase 
Shell :: upload github 
Shell :: apt find package 
Shell :: react hooks npm install 
Shell :: how to install prompt-sync in node js 
Shell :: restart gnome shell 
Shell :: access windows files on wsl 
Shell :: delete merged branches in git 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =