“cara menemukan file di wsl” Kode Jawaban

dimana folder wsl di windows

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

cara menemukan file di 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

cara menemukan file di 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

Jawaban yang mirip dengan “cara menemukan file di wsl”

Pertanyaan yang mirip dengan “cara menemukan file di wsl”

Lebih banyak jawaban terkait untuk “cara menemukan file di wsl” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya