What can i use in scripts to put in the correct username for the home directory on a realm joined computer? If my realm is company.com and I log in as [email protected], with $USER it outputs [email protected] but the home directory is just user1.
Thanks
Thanks