How can I find my User ID (UID) from terminal? Ivo Oskamp 05/07/2021 Uncategorized There are a couple of ways: Using the id command you can get the real and effective user and group IDs. id -u <username> If no username is supplied to id, it will default to the current user. Using the enviroment variable. echo $UID You Might Also Like Windows 11 opnieuw instellen via Geavanceerde opstartmodus 28/03/2025 Scrollout F1 change password 21/10/2021 HPE Aruba Comware H3C CLI reference guide Part 1 18/07/2022