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 Office 365 Mailbox Size Report with PowerShell 01/07/2022 Mounting the Remote NFS Directories at Boot 29/11/2023 2 Easy Ways to Reset Virtual Machine Password (VMware) 14/06/2022