Find the answer to your Linux question:
Results 1 to 3 of 3
hi can someone please define the function of the file : /dev/zero thanx...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2004
    Location
    Cairo
    Posts
    17

    dev/zero ?


    hi
    can someone please define the function of the file : /dev/zero

    thanx

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Well, basically if you read from it, you get NUL characters, and if you write to it, the data is discarded. It's useful for creating files of a certain files using `dd'. For more info, `man 4 zero'.

  3. #3
    Just Joined!
    Join Date
    Jan 2004
    Location
    Cairo
    Posts
    17
    thanx

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •