user home directory command linux 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