“Jak zlokalizować plik na WSL” Kod odpowiedzi

gdzie jest folder WSL w systemie Windows

%LOCALAPPDATA%\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs
Quaint Quetzal

Jak zlokalizować plik na WSL

You can access your local machine using Windows Linux subsystem by accessing mnt folder in the root directory of the bash.
Just type, cd / 
-- this will get you to the root folder.
Then type, cd mnt
-- this will get you inside the mnt directory
Then type, ls -ltr
-- this will list down the drives in your local computer. From here yo can access anything you want on your local computer.
Naughty Newt

Jak zlokalizować plik na WSL

Make sure you have locate/updatedb installed (or mlocate/updatedb, or plocate/updatedb).
Assuming you have updatedb set to run in cron on some regular basis...
Type, locate [portion_of_filename]
i.e. # locate bashrc
     or
     # locate bash_alias
Or, using regular expressions, type locate -r [regex]
i.e. # locate -r bash.*alias
     or
     # locate -r .*rc
You can also ignore case, type locate -i [-r] [filename]
i.e. # locate -ir xdefaults
Foolish Finch

Odpowiedzi podobne do “Jak zlokalizować plik na WSL”

Pytania podobne do “Jak zlokalizować plik na WSL”

Więcej pokrewnych odpowiedzi na “Jak zlokalizować plik na WSL” w Shell/Bash

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu