mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:42:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			354 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			354 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
| zero - data sink
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| `/dev/zero` is a character device file which discards input.
 | |
| 
 | |
| Reading from `/dev/zero` returns '\0' bytes and exits with status 0.
 | |
| 
 | |
| ## Files
 | |
| 
 | |
| * /dev/zero
 | |
| 
 | |
| ## Examples
 | |
| 
 | |
| ```sh
 | |
| $ head -c 8 /dev/zero | hexdump
 | |
| 00 00 00 00 00 00 00 00
 | |
| ```
 | |
| 
 | |
| ## See also
 | |
| 
 | |
| * [`null`(4)](../man4/null.md)
 | |
| * [`full`(4)](../man4/full.md)
 | |
| 
 | 
