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 :: npm install dev dependencies only 
Shell :: add current directory to path 
Shell :: linux port 
Shell :: how to get rid of activate windows watermark 2021 
Shell :: global configuration git 
Shell :: install clasp 
Shell :: bittorrent download linux 
Shell :: uninstall/remove libreoffice from ubuntu 
Shell :: pod install not working bad interpreter: No such file or directory 
Shell :: check nativescript version 
Shell :: linux bash script to clean up log files 
Shell :: while loop bash 
Shell :: install flask auto reload 
Shell :: git ignore all files within a directory 
Shell :: scp server to local 
Shell :: undo git pull origin master into feature branch 
Shell :: intsall ifconfig mac os 
Shell :: aws cli check if a bucket exists and you have permission to access it 
Shell :: ubuntu 755 and 644 
Shell :: install vim powershell 
Shell :: pause bash script 
Shell :: terraform script to create s3 bucket 
Shell :: move file from one directory to another sftp 
Shell :: install laravel globally mac 
Shell :: ubuntu move folder to another directory 
Shell :: bash sh: line [: too many arguments 
Shell :: choco installation 
Shell :: nmap udp scan 
Shell :: docker redis image 
Shell :: docker remove all images powershell 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =