Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

open WSL folder in windows explorer

#go to network explorer and type below

wsl$
Comment

wsl windows

1) Run PowerShell as administrator
2) Paste this command:
  Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
3) Restart your PC
4) Run PowerShell as administrator again
5) Paste these two commands:
  dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
  dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
6) Restart your PC Again
7) Download the Linux Kernel Update Package from
  https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
8) Then, run powershell as administrator again and paste this command:
  wsl --set-default-version 2
9) Install a distro of your choice from the Microsoft Store (Example Ubuntu, Kali Linux)

OR:

Run this command: wsl --install
NOTE: To Run this command given above, you must be running 
Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11.
Also, running this command installs Ubuntu by default.
Comment

wsl windows directory

wsl$
Comment

where is wsl folder in windows

%LOCALAPPDATA%PackagesCanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgscLocalState
ootfs
Comment

wsl directory

C:Users<username>AppDataLocalPackages
Comment

PREVIOUS NEXT
Code Example
Shell :: how do I become the owner of a directory in linux? 
Shell :: delete all merged branches 
Shell :: you failed to push some refs to git 
Shell :: download torrent magnet on linux 
Shell :: pip3 install from git 
Shell :: choco installation 
Shell :: installing sh file linux 
Shell :: install vue-material 
Shell :: add local repository to remote 
Shell :: git initial commands 
Shell :: redwood open prisma studio 
Shell :: install python debian 
Shell :: delete pid port 
Shell :: how to install node dependencies 
Shell :: linux, get host user 
Shell :: show conflicts git 
Shell :: git last commit change author 
Shell :: how to upgrade docker-compose version 
Shell :: git clone the certificate chain was issued by an authority that is not trusted 
Shell :: centos install specific kernel headers 
Shell :: git add -p 
Shell :: linux grep recursive 
Shell :: uninstall gem 
Shell :: install xcode terminal 
Shell :: check docker swarm status 
Shell :: check size folder terminal 
Shell :: Delete all running and stopped containers 
Shell :: install make 
Shell :: delete all files in a directory cmd 
Shell :: ionic capacitor splash screen generator 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =