mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:02:44 +00:00 
			
		
		
		
	 98c0c5e9e6
			
		
	
	
		98c0c5e9e6
		
	
	
	
	
		
			
			The URLs of the form `help://man/<section>/<page>` link to another help page inside the help application. All previous relative page links are replaced by this new form. This doesn't change any behavior but it looks much nicer :^) Note that man doesn't handle these new links, but the previous relative links didn't work either.
		
			
				
	
	
		
			39 lines
		
	
	
	
		
			587 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
	
		
			587 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
| id - print user/group ID
 | |
| 
 | |
| ## Synopsis
 | |
| 
 | |
| ```**sh
 | |
| $ id [options...]
 | |
| ```
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| `id` outputs user and group information for the current user.
 | |
| 
 | |
| ## Options
 | |
| 
 | |
| * `-u`: Print only real UID.
 | |
| * `-g`: Print only real GID.
 | |
| * `-G`: Print only all GIDs.
 | |
| * `-n`: If `-u`, `-g` or `-G` is specified, print full names instead of IDs.
 | |
| 
 | |
| ## Examples
 | |
| 
 | |
| ```sh
 | |
| $ id
 | |
| uid=100(anon) gid=100(users) groups=1(wheel),10(lookup),12(notify),4(audio),13(window),14(clipboard),3(phys)
 | |
| $ id -u
 | |
| 100
 | |
| $ id -g
 | |
| 100
 | |
| $ id -un
 | |
| anon
 | |
| $ id -G
 | |
| 1 10 12 4 13 14 3
 | |
| ```
 | |
| 
 | |
| ## See also
 | |
| 
 | |
| * [`whoami`(1)](help://man/1/whoami)
 |