Difference between revisions of "Id (command)"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{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
  
 +
== Examples ==
 +
* <code>id</code>
 +
* <code>id USERNAME</code>
 +
* <code>[[id -nG]]</code>
 +
* <code>[[id -un]]</code>
  
id
+
== Related ==
id USERNAME
 
 
 
== Related commands ==
 
 
* <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>
 +
* [[UID]]
  
 
== See also ==
 
== See also ==
 +
* {{id}}
 +
* {{UID}}
 
* {{Linux Commands privileges}}
 
* {{Linux Commands privileges}}
* {{Linux}}
+
 
 +
[[Category:Linux]]

Latest revision as of 13:58, 4 June 2024

Advertising: