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 Add and Manage User Accounts in Ubuntu 20.04 LTS 05/07/2021 Export Let’s Encrypt certificate in Windows Server PFX 26/08/2024 How to use Set-Inform to adopt Unifi Access Point 11/07/2022