Find the answer to your Linux question:
Results 1 to 3 of 3
time dd if=/dev/zero of=test.bin bs=1000000000 count=1 So, semi-newbie here. What does all this mean? I figured test.bin is the file name + type and bs is byte size. what is ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    3

    Unhappy define

    time dd if=/dev/zero of=test.bin bs=1000000000 count=1

    So, semi-newbie here. What does all this mean?
    I figured test.bin is the file name + type and bs is byte size.

    what is all the other things like "time", "dd", "if=/dev/zero", "of=" ?

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Go to a terminal and enter the following command to get the manual page for the dd command:

    Code:
    man dd
    It breaks it down and explains it pretty well.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191
    time dd if=/dev/zero of=test.bin bs=1000000000 count=1

    time if you put time first before any command, when the command is done it will return the amount of time that was spent performing that task.

    example:
    Code:
    time slocate bin
    
    ## the normal
    ## output from
    ## slocate bin
    ## goes here
    ## then:
    
    real    0m1.261s
    user    0m0.116s
    sys     0m0.040s
    The rest of the expression

    dd if=/dev/zero of=test.bin bs=1000000000 count=1

    is just giving information to dd, so follow ozar's advice on that.

Posting Permissions

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