“Как найти файл на WSL” Ответ

где папка WSL в Windows

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

Как найти файл на 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

Как найти файл на 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

Ответы похожие на “Как найти файл на WSL”

Вопросы похожие на “Как найти файл на WSL”

Больше похожих ответов на “Как найти файл на WSL” по Shell/Bash

Смотреть популярные ответы по языку

Смотреть другие языки программирования