/dev/zero
Sign in to saveis a special file in Unix-like operating systems that provides as many null characters (ASCII NUL, 0x00) as are read from it. One of the typical uses is to provide a character stream for initializing data storage.
~1 min read
Article
5 sectionsContents
- Function
- History
- Examples
- See also
- References
is a special file in Unix-like operating systems that provides as many null characters (ASCII NUL, 0x00) as are read from it. One of the typical uses is to provide a character stream for initializing data storage.
==Function== Read operations from return as many null characters (0x00) as requested in the read operation.