Posted on April 3, 2014July 1, 2014How to find the user id – uid – for a user in Linux This one is straight-forward for CentOS, Ubuntu and others distros: id -u [username] e.g. id -u bob That will give a numeric result like 500 or 1001.