/dev/tty.usbmodemfd131

Do you have an Uno R2 or R3? If it is an R3 you are going to use:

sudo dfu-programmer at90usb162 erase

The tutorial needs updating, sorry about that.