how to checks id a user is home linux code example Example: user.home linux System.getProperty("user.home")