Difference between revisions of "Id (command)"
Jump to navigation
Jump to search
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <code>id</code> command print real and effective user and group | + | {{lowercase}} |
+ | <code>id</code> command print real and effective [[user ID|user]] (UID) and [[group ID]]s (GID). | ||
* https://man7.org/linux/man-pages/man1/id.1.html | * https://man7.org/linux/man-pages/man1/id.1.html | ||
Line 5: | Line 6: | ||
* <code>id</code> | * <code>id</code> | ||
* <code>id USERNAME</code> | * <code>id USERNAME</code> | ||
+ | * <code>[[id -nG]]</code> | ||
+ | * <code>[[id -un]]</code> | ||
− | == Related | + | == Related == |
* <code>[[groups]]</code> | * <code>[[groups]]</code> | ||
* <code>cat /etc/[[group]]</code> | * <code>cat /etc/[[group]]</code> | ||
* <code>[[useradd]]</code> | * <code>[[useradd]]</code> | ||
* <code>[[usermod]]</code> | * <code>[[usermod]]</code> | ||
+ | * [[UID]] | ||
== See also == | == See also == | ||
+ | * {{id}} | ||
+ | * {{UID}} | ||
* {{Linux Commands privileges}} | * {{Linux Commands privileges}} | ||
− | |||
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 13:58, 4 June 2024
Advertising: