/home/username
is often the home directory for the user whose name is username
. However, it should not be assumed that this is always the case, rather, the libc functions getpwent
and getpwent_r
should be used to determine a user's home directory. usermod -d
. C:\Users\<username>
.