Skip to content

Linux

Reference

Curl

Create a file called "format" with this content:

    time_namelookup:  %{time_namelookup}s\n
       time_connect:  %{time_connect}s\n
    time_appconnect:  %{time_appconnect}s\n
   time_pretransfer:  %{time_pretransfer}s\n
      time_redirect:  %{time_redirect}s\n
 time_starttransfer:  %{time_starttransfer}s\n
                    ----------\n
         time_total:  %{time_total}s\n

Then run (replace with a valid URL):

CMD> curl -w "@format" -o /dev/null -s "<URL>"

Storage

· Wipe block disk

dd if=/dev/zero of=/dev/sda bs=1M count=100 seek=0

· Write ISO into disk (SD/USB)

sudo dd if=iso.img of=/dev/sda bs=4M conv=fsync