next up previous
Next: /dev/full Up: Special Devices Previous: /dev/null

/dev/zero

The device entry /dev/zero behaves as if it were an infinitely long file filled with 0 bytes. As much data as you'd try to read from /dev/zero, Linux generates enough 0 bytes.
$ hexdump -v /dev/zero
$ hexdump anyfile


Cem Ozdogan 2007-04-16