linux user home directory code example
Example 1: user.home linux
System.getProperty("user.home")
Example 2: assign home directory to user linux
usermod -d /path/to/dir username
System.getProperty("user.home")
usermod -d /path/to/dir username