avrdude -p t13 -c bsd -U flash:w:hello.hex

ATtiny13/45 programming cable:

           7 - reset - 1 8 -
                     - 2 7 - SCK - 8
                     - 3 6 - MISO - 10
            18 - GND - 4 5 - MOSI - 9

                 4   1  7  5   6          clip
   1  2  3  4  5  6  7  8  9  10 11 12 13 DB25
    14 15 16 17 18 19 20 21 22 23 24 25   DB25

serial PCB header:

   1   2   3   4
   Rx  Tx  DTR Gnd

serial cable:

   4   3   2   1
   Gnd DTR Tx  Rx DCD
    RI  CTS RTS DSR
   5   4   3   2  1
    9   8   7   6

   PIN   PURPOSE              SIGNAL NAME  HEADER
   Pin 1 Data Carrier Detect  DCD
   Pin 2 Received Data        RxData       1
   Pin 3 Transmitted Data     TxData       2
   Pin 4 Data Terminal Ready  DTR          3
   Pin 5 Signal Ground        Gnd          4
   Pin 6 Data Set Ready       DSR
   Pin 7 Request To Send      RTS
   Pin 8 Clear To Send        CTS
   Pin 9 Ring Indicator	      RI

edit