how to view home users in ubuntu code example Example 1: user.home linux System.getProperty("user.home") Example 2: find home dir for user eval echo ~$USER