Today I Learned

hashrocket A Hashrocket project

*nix user ids and groups

Does a user exist on the system?

$ id -u <username>

That'll give you the id, like 1006.

$ groups <username>

That'll give you the groups a user is a member of, like ssh staff admin

See More #command-line TILs