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 How to update win32 applications with Microsoft Intune 02/08/2024 How to Mount a Hard Drive at Boot in Ubuntu 22.04 28/01/2024 Bring Azure AD PIM and Intune Roles together 08/03/2022