Где находится папка home ubuntu windows

How do you find ubuntu's home directory on windows? I've tried searching through windows file explorer by typing ubuntu/home nothing shows up. Does anybody have any suggestions? Thanks for all your...

How do you find ubuntu’s home directory on windows? I’ve tried searching through windows file explorer by typing ubuntu/home nothing shows up. Does anybody have any suggestions? Thanks for all your help in advance.

asked Oct 10, 2019 at 18:21

shubuya hushimo's user avatar

1

The equivalent of Ubuntu’s ~/ (a.k.a. /home/yourusername/) in Windows 10 is C:Usersyourusername.

Eliah Kagan's user avatar

Eliah Kagan

115k53 gold badges310 silver badges482 bronze badges

answered Oct 10, 2019 at 20:51

K7AAY's user avatar

K7AAYK7AAY

16.5k9 gold badges45 silver badges75 bronze badges

The equivalent is C:Users

So for you, your home directory would be here:

C:Usersshushimo

answered Oct 10, 2019 at 18:27

blue-tree-frog's user avatar

I believe I can safely assume that there is no /home directory on Windows. It probably depends on which Windows OS you are talking about. I think Windows XP, Windows Vista, and Windows 7 has a /home directory, however. In case I am wrong (I probably am) I suggest waiting for another answer.

answered Oct 10, 2019 at 18:25

Jeff's user avatar

JeffJeff

4603 silver badges22 bronze badges

Войдите в домашнюю папку, вы можете найти домашнюю папку своей учетной записи пользователя Ubuntu. Как я могу получить доступ к системному диску Windows в Bash? В структуре каталогов Linux / Ubuntu Bash системный диск Windows 10 и другие подключенные диски монтируются и отображаются в каталоге / mnt /. и нажмите Enter, чтобы перейти к диску C :.

Просто найдите папку, названную в честь дистрибутива Linux. В папке дистрибутива Linux дважды щелкните папку «LocalState», а затем дважды щелкните папку «rootfs», чтобы просмотреть ее файлы. Примечание. В более старых версиях Windows 10 эти файлы хранились в папке C: UsersNameAppDataLocallxss.

Где мой домашний каталог Ubuntu?

В Ubuntu (и других Linux) ваша «домашняя» папка (обычно известная как $ HOME) существует по пути / home / /, и по умолчанию будет содержать набор папок, включая папку с именем Public. Если вы откроете файловый менеджер в $ HOME, он откроется в этой папке.

Как мне попасть в домашний каталог в Windows?

Рабочий каталог

  1. Чтобы перейти в домашний каталог, используйте «cd» или «cd ~».
  2. Для перехода на один уровень вверх по каталогу используйте «cd ..»
  3. Для перехода к предыдущему каталогу (или назад) используйте «cd -»
  4. Чтобы перейти в корневой каталог, используйте «cd /»

Где мой домашний каталог?

Путь к вашему домашнему каталогу будет вверху дерева файлов в левой части файлового менеджера.

Могу ли я получить доступ к файлам Windows из Linux?

Из-за природы Linux, когда вы загружаетесь в Linux, половину системы с двойной загрузкой, вы можете получить доступ к своим данным (файлам и папкам) на стороне Windows без перезагрузки Windows. И вы даже можете редактировать эти файлы Windows и сохранять их обратно в половину Windows.

Убедитесь, что включены параметры «Обнаружение сети» и «Общий доступ к файлам и принтерам». Теперь перейдите к папке, которой вы хотите поделиться с Ubuntu, щелкните ее правой кнопкой мыши и выберите «Свойства». На вкладке «Общий доступ» нажмите кнопку «Расширенный доступ».

Как мне найти свой домашний каталог в Linux?

Команды для файлов и каталогов

  1. Чтобы перейти в корневой каталог, используйте «cd /»
  2. Чтобы перейти в домашний каталог, используйте «cd» или «cd ~».
  3. Для перехода на один уровень вверх по каталогу используйте «cd ..»
  4. Для перехода к предыдущему каталогу (или назад) используйте «cd -»

2 юл. 2016 г.

Что такое домашняя папка в Linux?

Домашний каталог Linux — это каталог для конкретного пользователя системы, состоящий из отдельных файлов. Его также называют каталогом входа в систему. Это первое место, которое возникает после входа в систему Linux. Он автоматически создается как «/ home» для каждого пользователя в каталоге ».

Где находится домашний каталог в Linux?

Домашний каталог определяется как часть данных учетной записи пользователя (например, в файле / etc / passwd). Во многих системах, включая большинство дистрибутивов Linux и варианты BSD (например, OpenBSD), домашний каталог для каждого пользователя имеет форму / home / username (где username — это имя учетной записи пользователя).

Где находится корневой каталог?

Для Grid корневой каталог веб-сайта — это папка… / html. Он находится по пути к файлу /domains/example.com/html. Корневой каталог можно просмотреть / получить доступ через диспетчер файлов, FTP или SSH.

Что такое домашний каталог в Windows 10?

Эквивалент Ubuntu ~ / (он же / home / yourusername /) в Windows 10 — C: Usersyourusername.

Что такое верхний каталог?

Корневой каталог или корневая папка — это каталог верхнего уровня файловой системы. Структуру каталогов можно визуально представить в виде перевернутого дерева, поэтому термин «корень» представляет верхний уровень. Все остальные каталоги в томе являются «ветвями» или подкаталогами корневого каталога.

Что такое домашняя папка в Active Directory?

Домашняя папка — это место в частной сети, где пользователи могут хранить личные файлы. Он хранится в общей папке на сетевом сервере. Когда вы создаете домашнюю папку на сетевом сервере, пользователи могут получить к ней доступ с любого компьютера в сети.

Как изменить домашний каталог в Windows?

дважды щелкните пользователя, которого хотите изменить. Вкладка Профиль> Домашняя папка> Локальный путь> введите новый путь.

Когда пользовательское задание запускается в двухуровневой системе каталогов или пользователь входит в систему?

Дискуссионный форум

Это. Когда пользовательское задание запускается в двухуровневой системе каталогов или пользователь входит в систему:
b. системный главный файловый каталог не ищется
c. каталог основных файлов индексируется по имени пользователя или номеру учетной записи, и каждая запись указывает на UFD для этого пользователя
d. все упомянутые

About the filesystem mounted on /mnt/c

  1. What exactly is /mnt/c/Users/ compared with C:Users<username>? It seems they are one in the same—so what is /mnt/c/?

In contrast to Windows, Linux (and the other systems based on Unix) use a single folder structure independent of the number of disks you have. If you have multiple disks, all these disks must me mounted into the folder structure at some point.

  • Typically, all the disks (different than the used to boot the system) are mounted in a folder named /mnt or /media

WSL has an special type of filesystem named DrvFS that gives you access to the disks used in windows. You can use DrvFS to mount, not only your windows filesystem, but also network disks and other media types.

  • In WSL, by default, the C: disk in windows is mounted under /mnt/c
  • If you have another disk, for instance a D: disk in windows, it will be mounted under /mnt/d

The files you can see in /mnt/c are the same you have in C:. If you modify some file, you will get the changes in the windows too.

You may use the mount command to access other types of media (e.g. removable drives or network shares).


About the location of /home/<username>

  1. How can I view the files in /home/ using the Windows File Explorer? Not that I’d really ever want to—I’m just trying to get a feel for how Windows is organizing this Subsystem for Linux thing.

In WSL, all the linux filesystem is located under a Windows folder. The location of the folder depends on the version of Windows and of the WSL distribution you are using.

  • Initial versions of WSL store the linux filesystem in %LOCALAPPDATA%Lxssrootfs
  • WSL distributions installed from the Windows Store, starting in Windows Build 16215 (mid of 2017), use a folder like %LOCALAPPDATA%Packages{package}LocalStaterootfs. The name of the package varies depending on the distribution (e.g. it is different for Ubuntu than for Debian).
    For Ubuntu on Windows it is CanonicalGroupLimited.UbuntuonWindows_{code}, for example.
  • Linux distributions installed using other tools, such as lxRunOffline or WSL-DistroLauncher may store the linux filesystem into any location.

You may check many options to know the location of the WSL folder. For instance, I think the easiest option is to use lxRunOffline to know the installation folder.

## You can use lxrunoffline to check which WSL distributions have installed
## using:   lxrunoffline list

C:> lxrunoffline list
backup
Ubuntu-18.04    

## And you can use it to get the location of any of these WSL installations
## using:   lxrunoffline get-dir -n <name of distribution>

C:> lxrunoffline get-dir -n backup
c:wslinstalledbackup

C:> lxrunoffline get-dir -n Ubuntu
C:UsersJaimeAppDataLocalPackagesCanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgscLocalState

Once you know the location of the installation folder, the /home/<username> is under <installation folder>rootfshomeusername.

  • For instance, if your installation folder is c:wslubuntu
  • the /home/<username> is in c:wslubunturootfshomeusername

NOTE: Both Linux and Windows stores file permissions in different ways. Nowadays, the WSL DrvFS stores the Linux permissions as Streams (metadata) attached to the files you can see in Windows. Microsoft does not recommend to modify linux files using Windows programs. It is possible that some Windows applcations damage the linux permissions without notice it.

About the filesystem mounted on /mnt/c

  1. What exactly is /mnt/c/Users/ compared with C:Users<username>? It seems they are one in the same—so what is /mnt/c/?

In contrast to Windows, Linux (and the other systems based on Unix) use a single folder structure independent of the number of disks you have. If you have multiple disks, all these disks must me mounted into the folder structure at some point.

  • Typically, all the disks (different than the used to boot the system) are mounted in a folder named /mnt or /media

WSL has an special type of filesystem named DrvFS that gives you access to the disks used in windows. You can use DrvFS to mount, not only your windows filesystem, but also network disks and other media types.

  • In WSL, by default, the C: disk in windows is mounted under /mnt/c
  • If you have another disk, for instance a D: disk in windows, it will be mounted under /mnt/d

The files you can see in /mnt/c are the same you have in C:. If you modify some file, you will get the changes in the windows too.

You may use the mount command to access other types of media (e.g. removable drives or network shares).


About the location of /home/<username>

  1. How can I view the files in /home/ using the Windows File Explorer? Not that I’d really ever want to—I’m just trying to get a feel for how Windows is organizing this Subsystem for Linux thing.

In WSL, all the linux filesystem is located under a Windows folder. The location of the folder depends on the version of Windows and of the WSL distribution you are using.

  • Initial versions of WSL store the linux filesystem in %LOCALAPPDATA%Lxssrootfs
  • WSL distributions installed from the Windows Store, starting in Windows Build 16215 (mid of 2017), use a folder like %LOCALAPPDATA%Packages{package}LocalStaterootfs. The name of the package varies depending on the distribution (e.g. it is different for Ubuntu than for Debian).
    For Ubuntu on Windows it is CanonicalGroupLimited.UbuntuonWindows_{code}, for example.
  • Linux distributions installed using other tools, such as lxRunOffline or WSL-DistroLauncher may store the linux filesystem into any location.

You may check many options to know the location of the WSL folder. For instance, I think the easiest option is to use lxRunOffline to know the installation folder.

## You can use lxrunoffline to check which WSL distributions have installed
## using:   lxrunoffline list

C:> lxrunoffline list
backup
Ubuntu-18.04    

## And you can use it to get the location of any of these WSL installations
## using:   lxrunoffline get-dir -n <name of distribution>

C:> lxrunoffline get-dir -n backup
c:wslinstalledbackup

C:> lxrunoffline get-dir -n Ubuntu
C:UsersJaimeAppDataLocalPackagesCanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgscLocalState

Once you know the location of the installation folder, the /home/<username> is under <installation folder>rootfshomeusername.

  • For instance, if your installation folder is c:wslubuntu
  • the /home/<username> is in c:wslubunturootfshomeusername

NOTE: Both Linux and Windows stores file permissions in different ways. Nowadays, the WSL DrvFS stores the Linux permissions as Streams (metadata) attached to the files you can see in Windows. Microsoft does not recommend to modify linux files using Windows programs. It is possible that some Windows applcations damage the linux permissions without notice it.

4 ответа

Эквивалент Ubuntu ~ / (он же / home / yourusername / ) в Windows 10 — C: Users yourusername .

ответ дан K7AAY
10 October 2019 в 20:51

поделиться

Эквивалент является C:Users

Так для Вас, Ваш корневой каталог был бы здесь:

C:Usersshushimo

ответ дан blue-tree-frog
11 October 2019 в 09:31

поделиться

ответ дан Ethan
11 October 2019 в 09:31

поделиться

Я полагаю, что могу безопасно предположить, что нет никакого / корневого каталога в Windows. Это, вероятно, зависит, на котором Windows OS Вы говорите о. Я думаю Windows XP, Windows Vista, и Windows 7 имеет / корневой каталог, как бы то ни было. В случае, если я неправ (я, вероятно), я предлагаю ожидать другого ответа.

ответ дан Jeff
11 October 2019 в 09:31

поделиться

Единственная корневая файловая система находилась здесь до обновления Windows 10 Fall Creators (выпущенного в октябре 2017 года):

%USERPROFILE%AppDataLocalLxssrootfs

Например, C:UsersVigoAppDataLocalLxssrootfs

Другие точки монтирования расположены на один уровень выше в каталоге lxss . Например, ваш собственный home каталог в Linux будет находиться в папке %USERPROFILE%AppDataLocalLxsshome .

Начиная с обновления Fall Creators, можно установить более одного экземпляра Linux и запустить их параллельно. Существующий экземпляр (он же устаревший) останется в своем каталоге, но новые созданные экземпляры находятся в:

%USERPROFILE%AppDataLocalPackages<distribution_specific_name>_<random_string>LocalStaterootfs

Например, моя установка Ubuntu 18.04 находится под

CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc

каталог.

Предупреждение: не создавайте, не изменяйте и не удаляйте файлы, расположенные под конкретным деревом lxss или дистрибутива, из Windows.

Изучение и чтение файлов — единственная безобидная операция. См. Эту страницу блога Microsoft для деталей.

Обратите внимание, что начиная с Build 1903, существует альтернативный способ доступа к файлам работающего дистрибутива, в котором не обнаружены ранее упомянутые проблемы.

Просто используйте путь \wsl$<distribution_specific_name> и вы сможете создавать и изменять файлы. AppData по-прежнему не поддерживается для доступа к файлам в сборке 1903.

Понравилась статья? Поделить с друзьями:
  • Где находится папка fonts в windows 10
  • Где находится папка excel windows 10
  • Где находится папка etc на windows 10
  • Где находится папка electronic arts в windows 10
  • Где находится папка efi windows 10