linux bash retrieve user details code example Example 1: get current user debian echo "$USER" Example 2: linux show uid id -u $username