What is the Home Directory known also as the user directory ?
Table of Contents
About
The home directory is a special directory where all documents for a user or application are supposed to be stored.
Application may also have a directory called home which is the directory the application is installed.
Example of User Home
The value is dependent of the operating system.
Distribution | Home Path |
---|---|
Wsl Ubuntu 20.04 | \\wsl$\Ubuntu-20.04\home\username |
Linux | /home/username |
Windows | C:\Users\username |
How to get the Home Directory Path ?
The value of the home directory for a user is to be found in the Home environment variable.