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 :: kill port 
Shell :: powershell alias 
Shell :: jekyll run 
Shell :: nuxt install 
Shell :: optimize mp4 ffmpeg 
Shell :: Create And Restore MongoDB Backups 
Shell :: install postgres ubuntu 
Shell :: scp all files in directory 
Shell :: git cherry pick resolve conflict 
Shell :: duplicate line intellij mac 
Shell :: flutter doctor android studio not installed 
Shell :: install next app 
Shell :: [!] Android Studio (version 4.1.0) X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. 
Shell :: setup git in ubuntu 
Shell :: remove bar in browser in ubuntu 
Shell :: zsh check if file exists 
Shell :: remove tracked files git 
Shell :: install psycopg2 
Shell :: bash if greater than 
Shell :: convert increase size linux command line 
Shell :: One command to create a directory and file inside it linux command 
Shell :: cd /usr/local/bin/composer 
Shell :: find a file in linux terminal 
Shell :: xcode There is not enough disk space available to install the product. 
Shell :: ubuntu docker-compose cannot exit 
Shell :: install sail into existing laravel 8 project 
Shell :: manjaro nodejs 
Shell :: how to get rid of activate windows watermark 2021 
Shell :: brew install mongodb 
Shell :: linux bash clean up log file 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =