Uploading hex file in arduino Due without Arduino ide

On avr's uploading is normally done by avr-dude on the arm's boards it is done by bossac.